Package fluent.functions.icu.numeric
Class AbsFn
java.lang.Object
fluent.functions.icu.numeric.AbsFn
- All Implemented Interfaces:
fluent.functions.FluentFunction
ABS() : Absolute value
Returns the absolute value of a number, keeping the same numeric type.
Non-numeric values are passed through. At least one value is required.
Examples:
- ABS(-5) => 5
- ABS("stringvalue") => "stringvalue"
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
AbsFn
public AbsFn()
-
-
Method Details
-
name
- Specified by:
namein interfacefluent.functions.FluentFunction
-
apply
public List<fluent.types.FluentValue<?>> apply(fluent.functions.ResolvedParameters params, fluent.bundle.resolver.Scope scope) - Specified by:
applyin interfacefluent.functions.FluentFunction
-