1.7

Table Of Contents
Selector Matched element Matched element after script execution
#test <h1 id="test">Fields</h1> <h1 id="test">Fields</h1>
<p>Peter</p>
<p>Parker</p>
<p>pparker@localhost.com</p>
formatter
The formatter is a global object that allows you to format values in a script.
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.
l date()
l dateLong()
l dateMedium()
l dateShort()
l dateTime()
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 page467.
Page 476