2022.2

Table Of Contents
value
Anumber.ThiscanbeavaluefromafieldthatcontainsaSmallInteger,BigInteger,Float,SmallCur-
rencyorLargeCurrency.
pattern
Acustompatternthatmayconsistofsymbols;see"Numberpatterns"below.Notethattherepetitionof
patternlettersplaysapartindeterminingtheexactpresentation.
currencyNoSymbol(value)
Formatsanumberasacurrencywhilstomittingthecurrencysymbol.
value
Anumber.ThiscanbeavaluefromafieldthatcontainsaSmallInteger,BigInteger,Float,SmallCur-
rencyorLargeCurrency.
grouped(value)
Formatsanumberusingathousandsseparator.WhichseparatorisuseddependsontheLocale,see
"Locale"onpage706.
value
Anumber.ThiscanbeavaluefromafieldthatcontainsaSmallInteger,BigInteger,Float,SmallCur-
rencyorLargeCurrency.
Numberpatterns
Numbers,usedinatemplateandoriginatingfromafieldinarecordsetcanbedisplayedusingacus-
tompattern.
Youcanenterthepatterninanexpression(see"FormatHelpers"onpage769),orintheHelperWizard
orTextScriptWizard(see"UsingtheHelperWizard"onpage725,"UsingtheTextScriptWizard"on
page729and"Formattingvariabledata"onpage732).Notethatforthistowork,intheDataMapperthe
fieldthatcontainsthevaluemustbesettoInteger,Float,orCurrency.
IntheScriptEditor,thepatterncanbepassedtoafunctionoftheformatter;see"formatter"on
page1175.Thecustompatternmayconsistofpatterncharacters(seebelow),aprefixandasuffix.
Notethatstringsneedtobeconvertedtoanumberbeforetheycanbeformattedthisway.
Therepetitionofpatternlettersdeterminestheexactpresentation.Forexample,thepattern"00000"
limitsthenumberto5digitsandaddsleadingzerostoanynumbersthatarenot5digitslong.
Pattern characters
Symbol Location Localized? Meaning
Page 1196