org.diyefi.openlogviewer.utils
Class MathUtils

java.lang.Object
  extended by 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

Method Summary
static String roundDecimalPlaces(double input, int decimalPlaces)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

roundDecimalPlaces

public static String roundDecimalPlaces(double input,
                                        int decimalPlaces)
Parameters:
input - - The double you'd like to round the decimal places for
decimalPlaces - - The number of decimal places you'd like
Returns:
the formatted number


Copyright © 2015 DIYEFI.org. All Rights Reserved.