org.diyefi.openlogviewer.utils
Class MathUtils
java.lang.Object
org.diyefi.openlogviewer.utils.MathUtils
public final class MathUtils
- extends Object
MathUtils is used to provide math functions specific to the project.
- Author:
- Ben Fenner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
roundDecimalPlaces
public static String roundDecimalPlaces(double input,
int decimalPlaces)
- Parameters:
input
- - The double you'd like to round the decimal places fordecimalPlaces
- - The number of decimal places you'd like
- Returns:
- the formatted number
Copyright © 2015 DIYEFI.org. All Rights Reserved.