According to our Swiss standards contact, the decimal separator for the Swiss
locales is, by common practice, a comma for LC_NUMERIC data, and a period for
LC_MONETARY data. Here is an extract of his note to us last week:
"I checked to day the decision we made 15 years ago with the Swiss Federal
Office of Metrology and Accreditation, which is a Department of the Federal
Department of Justice and Police to be sure that no new decision was made in
between and now official.
I also got the confirmation that no ordinance or national standards is available
which documents the decimal separator problem.
According to the ISO 31 is the comma the official decimal separator, however ISO
Standards are only recommendations and not mandatory.
The banking business in Switzerland was using software in the early time with
computer coming from outside the country and in these time, the period was used
as the decimal separator.
We have therefore, based on history a mixed environment in Switzerland:
for all monetary amount, we are using the period as decimal separator.
for all other numeric presentations, the comma is the decimal separator."
I noted that IBM JDK 1.4.1, ICU v2.6, and the Win32 GetLocalInfo(...) all use
the period as the decimal separator for both numeric and monetary data. IBM AIX
and some Linux distributions, on the other hand, use the comma as the LC_NUMERIC
decimal separator, and the period as the LC_MONETARY decimal separator. We
should all strive to follow the Swiss convention.