org.openmali.angle
Class NumberUtil

java.lang.Object
  extended by org.openmali.angle.NumberUtil

public class NumberUtil
extends java.lang.Object

Util classs


Constructor Summary
NumberUtil()
           
 
Method Summary
static float round(float f, int i)
          Round a number to "i" digits after the comma
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberUtil

public NumberUtil()
Method Detail

round

public static float round(float f,
                          int i)
Round a number to "i" digits after the comma

Parameters:
f -
i -