MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Reference page 464

Cfml language reference
Table of Contents

Advertisement

440
Locale
Spanish (Mexican)
Spanish (Modern)
Spanish (Standard)
Swedish
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.
<!--- loop through a list of possible locales and
show currency values for 100,000 units --->
<CFLOOP LIST="#Server.Coldfusion.SupportedLocales#"
INDEX="locale" DELIMITERS=",">
<CFSET oldlocale = SetLocale(locale)>
<CFOUTPUT><P><B><I>#locale#</I></B><BR>
</CFOUTPUT>
</CFLOOP>
</BODY>
</HTML>
Format Type Output (Continued)
Local: $100,000.00
International: MXN100,000.00
None: 100,000.00
Local: 10.000.000 Pts
International: ESP10.000.000
None: 10.000.000
Local: 10.000.000 Pts
International: ESP10.000.000
None: 10.000.000
Local: 100.000,00 kr
International: SEK100.000,00
None: 100.000,00
Default value is "local."
Local: #LSCurrencyFormat(100000, "local")#<BR>
International: #LSCurrencyFormat(100000, "international")#<BR>
None: #LSCurrencyFormat(100000, "none")#<BR>
<Hr noshade>
CFML Language Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion 4.5

Table of Contents