Alphabetical List of ColdFusion Functions
Example
<!--- This shows LSCurrencyFormat --->
<html>
<head>
<title>LSCurrencyFormat Example</title>
</head>
<body>
<H3>LSCurrencyFormat Example</H3>
<P>LSCurrencyFormat returns a currency value using
the locale convention. Default value is "local."
<!--- loop through a list of locales and
show currency values for 100,000 units --->
<CFLOOP LIST = "#Server.Coldfusion.SupportedLocales#"
INDEX = "locale" DELIMITERS = ",">
</CFLOOP>
</body>
</html>
<cfset oldlocale = SetLocale(locale)>
<cfoutput><P><B><I>#locale#</I></B><BR>
Local: #LSCurrencyFormat(100000, "local")#<BR>
International: #LSCurrencyFormat(100000, "international")#<BR>
None: #LSCurrencyFormat(100000, "none")#<BR>
<Hr noshade>
</cfoutput>
517
Need help?
Do you have a question about the COLDFUSION 5 - CFML and is the answer not in the manual?