The round function. More...


Public Member Functions | |
| RoundFunction () | |
| double | of (double[] d, int numParam) |
| Returns the value at d[0] rounded to the nearest integer value. | |
| boolean | acceptNumParam (int numParam) |
| Returns true only for 1 parameter, false otherwise. | |
| String | toString () |
The round function.
Definition at line 8 of file RoundFunction.java.
| com.graphbuilder.math.func.RoundFunction.RoundFunction | ( | ) |
Definition at line 10 of file RoundFunction.java.
| boolean com.graphbuilder.math.func.RoundFunction.acceptNumParam | ( | int | numParam | ) |
Returns true only for 1 parameter, false otherwise.
Implements com.graphbuilder.math.func.Function.
Definition at line 27 of file RoundFunction.java.
| double com.graphbuilder.math.func.RoundFunction.of | ( | double[] | d, | |
| int | numParam | |||
| ) |
Returns the value at d[0] rounded to the nearest integer value.
If the value exceeds the capabilities of long precision then the value itself is returned.
Implements com.graphbuilder.math.func.Function.
Definition at line 17 of file RoundFunction.java.
| String com.graphbuilder.math.func.RoundFunction.toString | ( | ) |
Definition at line 31 of file RoundFunction.java.
1.6.1