Class expression.roundFunc
All Packages Class Hierarchy This Package Previous Next Index
Class expression.roundFunc
java.lang.Object
|
+----expression.Function
|
+----expression.oneArgFunction
|
+----expression.roundFunc
- public class roundFunc
- extends oneArgFunction
Round function
-
roundFunc()
-
-
apply(double)
- Rounds off a double value by first adding 0.5 to it and then returning
the largest integer that is less than or equal to this new value.
-
toString()
- Return string "ROUND"
roundFunc
public roundFunc()
apply
public double apply(double a)
- Rounds off a double value by first adding 0.5 to it and then returning
the largest integer that is less than or equal to this new value.
- Overrides:
- apply in class Function
toString
public String toString()
- Return string "ROUND"
- Overrides:
- toString in class Function
All Packages Class Hierarchy This Package Previous Next Index