J
James Kuyper
On 02/27/2014 09:05 AM, BartC wrote:
....
Twenty years ago is not long enough to predate locales; <locale.h> was
part of the very first C standard in 1989, with much of it's current
functionality. I'm sure it long pre-dates that standard, though I've not
been able to locate a precise starting date.
Yes, in many European countries it's conventional to use the comma as
the decimal point, and to use a period as the thousands separator. I
first learned about that alternate convention while reading an advanced
math book more than 40 years ago, long before I even dreamed of
programming computers.
....
I was writing software for use in Europe twenty years ago (predating a lot
of this regional/locale stuff too).
Twenty years ago is not long enough to predate locales; <locale.h> was
part of the very first C standard in 1989, with much of it's current
functionality. I'm sure it long pre-dates that standard, though I've not
been able to locate a precise starting date.
Perhaps it's the same now (does a printed floating point value use something
other than a period as a decimal point in certain locales?)
Yes, in many European countries it's conventional to use the comma as
the decimal point, and to use a period as the thousands separator. I
first learned about that alternate convention while reading an advanced
math book more than 40 years ago, long before I even dreamed of
programming computers.