Package fluent.functions.icu.numeric
Class CompactFn
java.lang.Object
fluent.functions.icu.numeric.CompactFn
- All Implemented Interfaces:
fluent.functions.FluentFunction
COMPACT() : Compact numeric formatter
Format a number using the compact formatter.
Non-numeric values are passed through. At least one value is required.
Options:
style:"short"or"long"(default:"long"minimumFractionDigits:integer value (0 is default)
-
Field Details
-
NAME
Method name- See Also:
-
-
Constructor Details
-
CompactFn
public CompactFn()
-
-
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
-