Rogue Wave banner
Previous fileTop of DocumentContentsNext 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 will be:

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


Previous fileTop of DocumentContentsNext file

©Copyright 1998, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.


OEM Release, June 1998