August 2003
Intermediate to advanced
1140 pages
68h 45m
English
LSEuroCurrencyFormat
LSEuroCurrencyFormat(amount [, type])Returns a locale-specific currency format with the euro as the symbol
where number is the currency amount and
type is the locale-specific convention.
Valid entries for type are
None (the amount), Local (the
amount with locale-specific currency formatting; the default), and
International (the amount with its corresponding
three-letter international currency prefix). In ColdFusion MX, if the
current locale is not part of the Euro Zone, the currency format
specific to the locale is used instead of the euro. The following
example displays euro currency formats for each locale:
<cfloop index="locale" list="#Server.Coldfusion.SupportedLocales#">
<cfset SetLocale(locale)>
<cfoutput>
<p>
<b>#locale#</b><br>
None: #LSEuroCurrencyFormat(1000000.99, "None")#<br>
Local: #LSEuroCurrencyFormat(1000000.99, "Local")#<br>
International: #LSEuroCurrencyFormat(1000000.99, "International")#<br>
</cfoutput>
</cfloop>