2020.2

Table Of Contents
results.append("<option value='" + str + "'>" + str +
"</option>");
}
formatter
The formatter is a global object that allows you to format values in a script.
The Text Script Wizard also allows you to format variable data; see "Using the Text Script
Wizard" on page788 and "Formatting variable data" on page792.
Note
The TextFormatter object is now deprecated and will eventually be removed.
Functions
Function Description
l currency()
l currencyNoSymbol
()
l grouped()
l integer()
l integerUngrouped
()
l number()
l numberUngrouped
()
The currency(), grouped(), integer() and number() functions
allow you to format a number, possibly with a custom pattern.
See "Number functions" on page1290.
l date()
l dateLong()
l dateMedium()
l dateShort()
l dateTime()
l dateTimeLong()
The date(), dateTime() and time() functions allow you to
format a date and/or time in different ways. See "Date, date/time
and time functions" on the next page.
Page 1274