Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

7.4 Localization Using the Stream's Locale

Associated with each stream is a locale that impacts the parsing and formatting of numeric values. This is how localization of software takes place. As discussed in Section 2.2.2, the representation of numbers often depends on cultural conventions. In particular, the decimal point need not be a period, as in the following example:

The output is:

Other cultural conventions, like the grouping of digits, are irrelevant. There is no formatting of numeric values that involves grouping.3


Previous fileTop of DocumentContentsIndexNext file

OEM Edition, ©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.