Class EvenFunction
java.lang.Object
org.pentaho.reporting.libraries.formula.function.math.EvenFunction
- All Implemented Interfaces:
Serializable
,Function
This function returns the rounding of a number up to the nearest even
integer.
- Author:
- Cedric Pronzato
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EvenFunction
public EvenFunction()
-
-
Method Details
-
evaluate
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException - Specified by:
evaluate
in interfaceFunction
- Throws:
EvaluationException
-
getCanonicalName
- Specified by:
getCanonicalName
in interfaceFunction
-