Chapter 2: ColdFusion Functions
Currency Output by Locale (Continued)
Locale
Italian (Swiss)
Norwegian (Bokmal)
Norwegian (Nynorsk)
Portuguese (Brazilian)
Portuguese (Standard)
Spanish (Mexican)
Spanish (Modern)
Spanish (Standard)
Swedish
Example
<!--- This shows LSEuroCurrencyFormat --->
<HTML>
<HEAD>
<TITLE>LSEuroCurrencyFormat Example</TITLE>
</HEAD>
<BODY>
<H3>LSEuroCurrencyFormat Example</H3>
<P>LSEuroCurrencyFormat returns a currency value using
the locale convention.
<!--- loop through a list of possible locales and
show currency values for 100,000 units --->
Format Type Output
Local:
100'000.00
International: EUR100'000.00
None: 100'000.00
Local:
100 000,00
International: EUR100 000,00
None: 100 000,00
Local:
100 000,00
International: EUR100 000,00
None: 100 000,00
Local:
100.000,00
International: EUR100.000,00
None: 100.000,00
Local:
100.000,00
International: EUR100.000,00
None: 100.000,00
Local:
100,000.00
International: EUR100,000.00
None: 100,000.00
Local: 10.000.000
International: EUR10.000.000
None: 10.000.000
Local: 10.000.000
International: EUR10.000.000
None: 10.000.000
Local: 100.000,00
International: EUR100.000,00
None: 100.000,00
Default value is "local."
445
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