August 2001
Intermediate to advanced
976 pages
38h 8m
English
LSEuroCurrencyFormat — New as of ColdFusion 4.01
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). The following example
displays Euro currency formats for each locale:
<CFLOOP INDEX="locale" LIST="#Server.Coldfusion.SupportedLocales#">
<CFSET temp = 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>Read now
Unlock full access