3 ms·
>Some countries use a comma as decimal separator instead of a colon. I kind of wish we could all just pick something and stick with it.
by swiley 7y ago
>Some countries use a comma as decimal separator instead of a colon.
I kind of wish we could all just pick something and stick with it.
- ccccc0 7y agoLike the metric system?
- BlueTemplar 7y agoThe metric system, being French in origin, would certainly use the comma!
- akie 7y agoYes, and we picked a comma. You?
- deleted 7y ago[deleted]
- unwind 7y agoThat sentence must have a typo in it, right? Wikipedia [1] doesn't list any country that does use the colon (:) as the decimal separator, so possibly the period/dot (.) as used in most English-speaking countries, was meant? 1: https://en.wikipedia.org/wiki/Decimal_separator https://en.wikipedia.org/wiki/Decimal_separator
- deleted 7y ago[deleted]
- yoz-y 7y agoYeah, I think what author meant "some countries don't use the period but a comma, thus hilarity ensues" (especially when your code respects the locale and the csv file is written in append mode)