top | item 43192439

(no title)

SirusCodes | 1 year ago

Is that true? I thought for all languages only "." is defacto decimal point in all languages. Never knew it changes with locale.

discuss

order

plopilop|1 year ago

The hegemony of software only accepting . has de facto pushed the standard everywhere for computers, but here in France I still write with a comma, but type with a dot.

A few years ago Excel and some other softwares started to be locale dependent and I never wanted to burn my computer this much

johncoltrane|1 year ago

French dev currently working for a French but global client, here. The UI of the timesheet app is in English but the fields only accept `,` as decimal point. It's so needlessly confusing.

jiehong|1 year ago

Very much so.

Dot is often used as thousands separator too.

I remember the first time I saw 10,000 as a price and thought: 10 bucks? So cheap. But also: who needs 3 decimal points for a price?

Looks like its more or less 50% of the world [0].

[0]: https://en.wikipedia.org/wiki/Decimal_separator#Conventions_...

koliber|1 year ago

To add to the complexity of the whole situation, some countries don't separate by thousands (every three zeroes). India uses a 2,2,3 system (crore, lakh, thousand).

10 million = 1,00,00,000

https://en.wikipedia.org/wiki/Lakh

rob74|1 year ago

> who needs 3 decimal points for a price?

Petrol stations... I have no idea how widespread this practice is, but at least in Germany fuel prices have 3 decimal points to better confuse motorists. The third number is usually displayed smaller and is of course always a nine. So, if you see the price for a litre of diesel at e.g. 1.62⁹ €, you might forget to round it up mentally.

ninalanyon|1 year ago

International standards say that either dot or comma is acceptable as decimal separator and thousand separators are optional spaces, typically a half space when properly typeset.

    ISO 31-0 (after Amendment 2) specifies that "the decimal sign is either the comma on the line or the point on the line". This follows resolution 10[1] of the 22nd CGPM, 2003.[2]

    For example, one divided by two (one half) may be written as 0.5 or 0,5.

spacechild1|1 year ago

For example, German speaking countries use a comma instead of a decimal point, whereas the latter is used as a group separator. The German word for decimal place is "Kommastelle" (= "comma place").

kolinko|1 year ago

It’s “,” in Poland, and a dot(or apostrophe) as thousands separator.

That’s why in region settings on your computer you will find not only date/tome formatting, but also the number format.

yxhuvud|1 year ago

No. Some languages use . for thousand (or even hundred) separators.