From the DOCS
Formats a number as text. Group sizing and separator and other
locale-specific configurations are based on the active locale.
SYNTAX:
number_expression | number[:digitInfo[:locale]]
where expression
is a number:
digitInfo
is a string which has a following format:
{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}
- minIntegerDigits is the minimum number of integer digits to use.Defaults to 1
- minFractionDigits is the minimum number of digits
- after fraction. Defaults to 0. maxFractionDigits is the maximum
number of digits after fraction. Defaults to 3.
- locale is a string defining the locale to use (uses the current LOCALE_ID by default)
DEMO