Package fluent.functions.icu.numeric
Class CurrencyFn
java.lang.Object
fluent.functions.icu.numeric.CurrencyFn
- All Implemented Interfaces:
fluent.functions.FluentFunction
CURRENCY() : Format a number as a currency.
This does not support patterns. If a specific pattern is desired, use the DecimalFn function instead.
This will behave as NUMBER($var, style:"currency") but is more explicit.
Non-numeric values are passed through. At least one value is required.
Options:
minimumFractionDigits:integer value (0 is default)
-
Field Details
-
NAME
Function name- See Also:
-
-
Constructor Details
-
CurrencyFn
public CurrencyFn()
-
-
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
-