Decimals used by some of my European colleagues
Decimals used by some of my European colleagues
Posted Jun 8, 2013 14:07 UTC (Sat) by jhhaller (guest, #56103)Parent article: Little things that matter in language design
Some of my European colleagues transpose the usage of comma and period from what I grew up with in the US, such that three thousand and four hundredths would be represented as 3.000,04. So far, I have not seen this convention baked into a programming language, although it's frequently available for formatting based on the local language settings. It's a bad idea for a program to compile code differently based on what the local language settings at compile time, but is there any common convention for specifying a comma as the decimal point in the code?