Package fluent.functions.icu.numeric
Class SignFn
java.lang.Object
fluent.functions.icu.numeric.SignFn
- All Implemented Interfaces:
fluent.functions.FluentFunction
SIGN() : Sign of a numeric value (and more..)
Returns a string indicating the sign of a numeric value. Non-numeric values are passed through. At least one value is required.
Specifically:
- negative values => "negative"
- zero => "zero"
- positive values => "positive"
- NaN => "nan"
- positive infinity => "positiveInfinity"
- negative infinity=> "negativeInfinity"
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
SignFn
public SignFn()
-
-
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
-