org.pentaho.reporting.libraries.formula.function.rounding
Class IntFunction

java.lang.Object
  extended by org.pentaho.reporting.libraries.formula.function.rounding.IntFunction
All Implemented Interfaces:
Serializable, Function

public class IntFunction
extends Object
implements Function

This function returns a number down to the nearest integer.

Author:
Cedric Pronzato
See Also:
Serialized Form

Constructor Summary
IntFunction()
           
 
Method Summary
 TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)
           
 String getCanonicalName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntFunction

public IntFunction()
Method Detail

getCanonicalName

public String getCanonicalName()
Specified by:
getCanonicalName in interface Function

evaluate

public TypeValuePair evaluate(FormulaContext context,
                              ParameterCallback parameters)
                       throws EvaluationException
Specified by:
evaluate in interface Function
Throws:
EvaluationException