Great Britain and the United States are two of the few places in the world that use a period to indicate the decimal place. Many other countries use a comma instead. The decimal separator is also called the radix character. Likewise, while the U.K. and U.S. use a comma to separate thousands groups, many other countries use a period instead, and some countries separate thousands groups with a thin space. Table 1-3 shows some commonly used numeric formats.
Table 1-3 International Numeric Conventions|
Locale |
Large Number |
|---|---|
|
Canadian (English and French) |
4 294 967 295,00 |
|
Danish |
4.294.967.295,00 |
|
Finnish |
4.294.967.295,00 |
|
French |
4.294.967.295,00 |
|
German |
4 294 967 295,00 |
|
Italian |
4.294.967.295,00 |
|
Norwegian |
4.294.967.295,00 |
|
Spanish |
4.294.967.295,00 |
|
Swedish |
4.294.967.295,00 |
|
UK-English |
4,294,967,295.00 |
|
US-English |
4,294,967,295.00 |
|
Thai |
4,294,967,295.00 |
Data files containing locale-specific formats will be misinterpreted when transferred to a system in a different locale. For example, a file containing numbers in a French format is not useful to a U.K.-specific program.
There are no particular locale conventions that specify how to separate numbers in a list. They are sometimes comma-delimited in the UK and the U.S., but often spaces and semicolons are used.