Support For New Currency Formats; Changes To Formatting Functions - MACROMEDIA COLFUSION MX 7-MIGRATING APPLICATIONS TO COLDFUSION MX 7 Manual

Migrating applications to coldfusion mx 7
Table of Contents

Advertisement

For more information on support for character encodings see the "Developing Globalized
Applications" chapter in ColdFusion MX Developer's Guide and the individual tag and function
descriptions in the CFML Reference.

Support for new currency formats

ColdFusion MX recognizes new currency formats for locales. For example, when a euro currency
is passed to the
LSIsCurrency
member, and No if not. Support for currency formats is JVM dependent. For more information,
see the
LSCurrencyFormat

Changes to formatting functions

ColdFusion MX uses Java standard locale formatting rules on all platforms. ColdFusion 5 uses
Windows or UNIX locale formatting rules, depending on the ColdFusion platform. For
information on Java standard locale formatting rules, see the Java documentation for the Locale
class (java.util.Locale) for your JVM at http://java.sun.com/j2se/.
Some functions in ColdFusion MX produce slightly different results than in ColdFusion 5. For
example, in ColdFusion MX,
for countries other than the US, and correctly rounds the currency values for countries whose
currency does not include cents. The same code now produces the same results, regardless of the
platform.
Some of the differences might require adjusting your ColdFusion applications. For example,
LSCurrencyFormat
ColdFusion 5, such as inserting a leading minus sign (–) instead of enclosing the value in
parentheses.
function, ColdFusion MX returns Yes if the locale is a Euro
and
LSIsCurrency
LSCurrencyFormat
in ColdFusion MX formats some negative currency values differently than in
discussions in CFML Reference.
returns the correct international currency code
Localization and character handling
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents