|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.libraries.formula.function.math.OddFunction
public class OddFunction
This function returns the rounding a number up to the nearest odd integer, where "up" means "away from 0".
| Constructor Summary | |
|---|---|
OddFunction()
|
|
| Method Summary | |
|---|---|
TypeValuePair |
evaluate(FormulaContext context,
ParameterCallback parameters)
|
java.lang.String |
getCanonicalName()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OddFunction()
| Method Detail |
|---|
public TypeValuePair evaluate(FormulaContext context,
ParameterCallback parameters)
throws EvaluationException
evaluate in interface FunctionEvaluationExceptionpublic java.lang.String getCanonicalName()
getCanonicalName in interface Function
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||