Properties of locales

Each locale has a set of attributes describing its various rules. The localeconv() function returns a dictionary containing the rules for the current locale. The keys of this dictionary and their meanings are listed in Table 34-2.

Table 34-2 Keys for the localeconv Dictionary

Key

Meaning

U.S. English Example

decimal_point

Decimal-point character

0 0

Post a comment