2022.1

Table Of Contents
Number functions
Note
The locale also influences the output of some Number functions; see "Locale" on
page828.
Tip
For fields that contain a number, you can also enter a formatting pattern via the Text
Script Wizard; see "Using the Text Script Wizard" on page849, "Formatting variable
data" on page853 and "Number patterns" on the next page).
currency(value)
Formats a number as an amount of money. Which currency symbol and which thousands
separator are used depends on the Locale; see "Locale" on page828.
value
A number. This can be a value from a field that contains a SmallInteger, BigInteger, Float,
SmallCurrency or LargeCurrency.
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 page828. For
available patterns, see "Number patterns" on the next page.
value
A number. This can be a value from a field that contains a SmallInteger, BigInteger, Float,
SmallCurrency or LargeCurrency.
pattern
A custom pattern that may consist of symbols; see "Number patterns" on the next page. Note
that the repetition of pattern letters plays a part in determining the exact presentation.
Page 1376