|
Formula 1.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.formula.function.builtin.Abs
public final class Abs
abs(x): absolute value of a number.
Constructor Summary | |
---|---|
Abs()
|
Method Summary | |
---|---|
Decimal |
calculate(Decimal... aArgs)
Calculate the value of a function. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Abs()
Method Detail |
---|
public Decimal calculate(Decimal... aArgs)
Function
It's highly recommended that the implementation validate the number of arguments
passed to the function. The Check
class can be used for doing the most common
argument validations.
calculate
in interface Function
aArgs
- 0 or more arguments to the function.
|
Formula 1.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |