Macromedia coldfusion 4.5-cfml language reference User Manual
Chapter 2: ColdFusion Functions
443
LSEuroCurrencyFormat
Returns a currency value using the convention of the locale and the Euro as the
currency symbol. Default value is "local."
currency symbol. Default value is "local."
Note
The locale is set with the
SetLocale
function.
See, also,
LSParseEuroCurrency
,
LSCurrencyFormat
, and
SetLocale
.
Syntax
LSEuroCurrencyFormat(
currency-number [, type ])
currency-number
The currency value.
type
Currency type. Valid arguments are:
•
none
— (For example, 10.00)
•
local
— (Default. For example, 10.00
€)
•
international
— (For example, EUR10.00)
Usage
The LSEuroCurrencyFormat function can display the Euro symbol (
€) only on Euro-
enabled computers, such as Windows NT 4.0 SP4, that have Euro-enabled fonts
installed.
installed.
This function is similar to LSCurrencyFormat except that LSEuroCurrencyFormat
displays the Euro currency symbol (
displays the Euro currency symbol (
€) or the international Euro sign (EUR) if you
specify the type as local or international, respectively, and the Euro is the accepted
currency of the locale.
currency of the locale.
Currency output
The following table shows sample currency output for some of the locales supported
by ColdFusion in each of the format types:
by ColdFusion in each of the format types:
local
,
international
, and
none
.
Currency Output by Locale
Locale
Format Type Output
Dutch (Belgian)
Local: 100.000,00
€
International: EUR100.000,00
None: 100.000,00
None: 100.000,00
Dutch (Standard)
Local:
€
100.000,00
International: EUR100.000,00
None: 100.000,00
None: 100.000,00