2022.2

Table Of Contents
formatter
Theformatterisaglobalobjectthatallowsyoutoformatvaluesinascript.
TheHelperWizardandtheTextScriptWizardalsoallowyoutoformatvariabledata;see"Usingthe
HelperWizard"onpage310,"UsingtheTextScriptWizard"onpage314and"Formattingvariable
data"onpage317.
Note: TheTextFormatterobjectisnowdeprecatedandwilleventuallyberemoved.
Functions
Function Description
l
currency()
l
currencyNoSymbol()
l
grouped()
l
integer()
l
integerUngrouped()
l
number()
l
numberUngrouped()
Thecurrency(),grouped(),integer()andnumber()functionsallowyoutoformatanumber,possibly
withacustompattern.See"Numberfunctions"onpage740.
l
date()
l
dateLong()
l
dateMedium()
l
dateShort()
l
dateTime()
l
dateTimeLong()
l
dateTimeMedium()
l
dateTimeShort()
l
timeLong()
l
timeMedium()
l
timeShort()
Thedate(),dateTime()andtime()functionsallowyoutoformatadateand/ortimeindifferentways.
See"Date,date/timeandtimefunctions"below.
l
lowerCase()
l
upperCase()
l
properCase()
ThetextformattingfunctionsareusedonStrings.lowerCase()transformsallcharacterstolowercase,
upperCase()transformsallcharacterstouppercaseandproperCase()transformsthefirstcharacterof
eachwordtouppercaseandallothercharacterstolowercase.
Date, date/time and time functions
l
date()
l
dateLong()
Page 720