2022.2

Table Of Contents
TextHelpers
ThesearetheFormatHelpersthatcanbeusedwithtext.
l
lowerCasetransformsallcharacterstolowercase.
l
upperCasetransformsallcharacterstouppercase.
l
properCasetransformsthefirstcharacterofeachwordtouppercaseandallothercharactersto
lowercase.
NumberHelpers
ThefollowingFormatHelpersworkwithnumbers,i.e.datafieldsofthetypeCurrency,Floatand
Integer.
l
currencyformatsanumberasanamountofmoney,withacurrencysymbol.
Optionally,youcanspecifyacustompattern.Putthepatternafterthenameofthedatafield,and
encloseitindoublequotes.
Example: {{currencyTotal"#.0"}}
Foravailablepatterns,see"Numberpatterns"onpage741.
l
currencyNoSymbolformatsanumberasacurrencywhilstomittingthecurrencysymbol.
l
groupedformatsanumberusingathousandsseparator.
Note: WhichcurrencysymbolandwhichthousandsseparatorareuseddependsontheLocale;
see"Locale"onpage295.
DateandtimeHelpers
ThefollowingFormatHelpersworkwithdates.Adatecancontainadateandtime.
NotethatthisrequiresthedatafieldtobeofthetypeDate.TheseHelpersdon'tworkwithplaintext.
l
dateformatsadateobjectusingacustompattern.Putthepatternafterthenameofthedata
field,andencloseitindoublequotes.
Thecustompatternmayconsistofpatternletters,separatingsymbolsandquotedtext,for
example:"MMMMdd,yyyy";see"Dateandtimepatterns"onpage725.
l
dateLongformatsadateaslongstringrepresentation,forexampleApril 1, 2022.
l
dateMediumformatsadateasmediumstringrepresentation,forexampleApr 1, 2022.
l
dateShortformatsadateasshortstringrepresentation,forexample4-1-2022.
Page 335