1.7

Table Of Contents
Method Parameters Description
warn() message: string Logs a warning message
Number functions
Note
The locale also influences the output of some Number functions; see "Locale" on page520.
Tip
For fields that contain a number, you can also enter a formatting pattern directly in the Text Script
Wizard; see "Using the Text Script Wizard" on page537, "Formatting variable data" on page540
and "Number patterns" on the facing 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 page520.
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 page520. For
available patterns, see see "Number patterns" on the facing page.
value
A number. This can be a value from a field that contains a SmallInteger, BigInteger, Float,
SmallCurrency or LargeCurrency.
pattern
Page 803