2018.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704 and "Formatting variable data" on page708.
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 page1155.
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 "Creating a
Date object from a string" on page1146.
Page 1141