User Guide
614 Chapter 3: ColdFusion Functions
<!--- loop through a list of locales; show currency values for 123,456 units -
-->
<cfloop LIST = "#Server.Coldfusion.SupportedLocales#"
index = "locale" delimiters = ",">
<cfset oldlocale = SetLocale(locale)>
<cfoutput><p><B><I>#locale#</I></B><br>
Local: #LSCurrencyFormat(123456.78, "local")#<br>
Parsed local Currency:
#LSParseCurrency(LSCurrencyFormat(123456,"local"))#<br>
International: #LSCurrencyFormat(123456.78999, "international")#<br>
Parsed International Currency:
#LSParseCurrency(LSCurrencyFormat(123456.78999,"international"))#<br>
None: #LSCurrencyFormat(123456.78999, "none")#<br>
Parsed None formatted currency:
#LSParseCurrency(LSCurrencyFormat(123456.78999,"none"))#<br>
<hr noshade>
</cfoutput>
</cfloop>