News for hackers. Stuff that matters.
Re:So you want to write your own CSV code (2014) by swiley on Friday May 15, 2020 @06:48AM (#23190710)
>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.

Re:So you want to write your own CSV code (2014) by akie on Friday May 15, 2020 @07:05AM (#23190789)
Yes, and we picked a comma. You?
Re:So you want to write your own CSV code (2014) by unwind on Friday May 15, 2020 @07:14AM (#23190827)
That 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

Re:So you want to write your own CSV code (2014) by yoz-y on Friday May 15, 2020 @08:06AM (#23191162)
Yeah, 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)
Re:So you want to write your own CSV code (2014) by ccccc0 on Friday May 15, 2020 @07:05AM (#23190784)
Like the metric system?
Re:So you want to write your own CSV code (2014) by BlueTemplar on Friday May 15, 2020 @09:38AM (#23191997)
The metric system, being French in origin, would certainly use the comma!