2020.2

Table Of Contents
A number. Note that all data fields contain strings. Strings need to be converted to a number
before passing them to this function.
currency(value, pattern)
Formats a number as an amount of money using a custom pattern. Which currency symbol and
which thousands separator are used depends on the Locale; see "Locale" on page327. For
available patterns, see "Number patterns" below.
value
A number. Note that all data fields contain strings. Strings need to be converted to a number
before passing them to this function.
pattern
A custom pattern that may consist of symbols; see "Number patterns" below. Note that the
repetition of pattern letters plays a part in determining the exact presentation.
currencyNoSymbol(value)
Formats a number as a currency whilst omitting the currency symbol.
value
A number. Note that all data fields contain strings. Strings need to be converted to a number
before passing them to this function.
grouped(value)
Formats a number using a thousands separator. Which separator is used depends on the
Locale, see "Locale" on page327.
value
A number. Note that all data fields contain strings. Strings need to be converted to a number
before passing them to this function.
Number patterns
Numbers, used in a template, can be displayed using a custom pattern.
In the Script Editor, the pattern can be passed to a function of the formatter; see "formatter" on
page786. The custom pattern may consist of pattern characters (see below), a prefix and a
Page 802