org.nlogo.api
Class Approximate

java.lang.Object
  extended by org.nlogo.api.Approximate

public final class Approximate
extends Object


Method Summary
static double approximate(double n, int places)
           
static double approximateCeiling(double n, int places)
           
static double approximateFloor(double n, int places)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

approximate

public static double approximate(double n,
                                 int places)

approximateCeiling

public static double approximateCeiling(double n,
                                        int places)

approximateFloor

public static double approximateFloor(double n,
                                      int places)