org.jfree.formula.function.math

Class OddFunction

public class OddFunction extends Object implements Function

This function returns the rounding a number up to the nearest odd integer, where "up" means "away from 0".

Author: Cedric Pronzato

Constructor Summary
OddFunction()
Method Summary
TypeValuePairevaluate(FormulaContext context, ParameterCallback parameters)
StringgetCanonicalName()

Constructor Detail

OddFunction

public OddFunction()

Method Detail

evaluate

public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)

getCanonicalName

public String getCanonicalName()