Specifications
20 Migrating ColdFusion 5 Applications
Changes to formatting functions for different locales
The following table shows the locales in which one or more functions produce slightly
different results between ColdFusion 5 and ColdFusion MX:
Locale Function
ColdFusion 5
results
ColdFusion MX
results
English(Australian) LSCurrencyFormat(123456.78,"international") USD123,456.78 AUD123,456.78
LSCurrencyFormat("-1234.56","none") (1,234.56) -1,234.56
English(Canadian) LSCurrencyFormat(123456.78,"international") USD123,456.78 CAD123,456.78
LSCurrencyFormat("-1234.56","none") (1,234.56) -1,234.56
English (New Zealand) LSCurrencyFormat(123456.78,"international") USD123,456.78 NZD123,456.78
LSCurrencyFormat("-1234.56","none") (1,234.56) -1,234.56
English(UK) LSCurrencyFormat(123456.78,"local") $123 456.78 £123,456.78
LSCurrencyFormat(123456.78,"international") USD123,456.78 GBP123,456.78
LSCurrencyFormat("-1234.56","none") (1,234.56) -1,234.56
English(US) LSParseDateTime("23:15:16 4 Sept. 1998")* {ts '1998-09-04
23:15:16'}
invalid date
format error
French(Belgian) LSCurrencyFormat(123456.78,"none") 123 456,78 123.456,78
LSCurrencyFormat(123456.78,"local") 123 456,78 F 123.456,78 FB
LSCurrencyFormat(123456.78,"international") FRF123 456,78 BEF123.456,78
French(Canadian) LSCurrencyFormat(123456.78,"local") 123 456,78 F 123 456,78 $
LSCurrencyFormat(123456.78,"international") FRF123 456,78 CAD123 456,78
LSCurrencyFormat("-1234.56","none") -1 234,56 (1 234,56)
French(Swiss) LSCurrencyFormat(123456.78,"local") 123 456,78 F SFr. 123'456.78
LSCurrencyFormat(123456.78,"international") FRF123 456,78 CHF123'456.78
German(Austrian) LSCurrencyFormat(123456.78,"local") 123.456,78 DM öS 123.456,78
LSCurrencyFormat(123456.78,"international") DEM123.456,78 ATS123.456,78
Italian(Standard) LSCurrencyFormat(123456.78,"none")
LSCurrencyFormat(123456.78,"none")
12.345.678 123.457
Italian(Swiss) LSCurrencyFormat(123456.78,"none") 12.345.678 123'456.78
LSCurrencyFormat(123456.78,"local") L. 12.345.678 SFr. 123'456.78
LSCurrencyFormat(123456.78,"international") ITL12.345.678 CHF123'456.78
Portuguese (Brazilian) LSCurrencyFormat("-1234.56","none") (1.234,56) -1.234,56
Portuguese
(Standard)
LSCurrencyFormat("-1234.56","none") (1.234,56) -1.234,56
LSCurrencyFormat(123456.78,"local") R$ 123.456,78 123.456,78 Esc.
LSCurrencyFormat(123456.78,"international") BRL123.456,78 PTE123.456,78