[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Comma vs Dot as decimal point.

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 26
Thread images: 1

File: semicolon.gif (1KB, 179x150px) Image search: [Google]
semicolon.gif
1KB, 179x150px
Which one is better and should be the standard?

This mess fucked up a parser I programmed that transformed a huge string into some numbers.
>>
inverted period should be used
>>
>>59564930
Use a dot, you stupid european.
>>
I'm European but I prefer dot. 1,000.00 looks better than 1.000,00 imo.
>>
>>59565262
No it doesn't. But dot is what we use on the internet, because standards.
>>
>>59564930
There is no objectively superior version.
>>
>>59564930
The dot is objectively superior. This is like asking if we should use commas to end sentences.

If you think the comma is better as a decimal point please put an end to yourself.
>>
>>59564930
>>59565262
What? Do Europeans seriously use commas in replacement of periods? What the heck is 1.000,00?
>>
>>59564930
A happy face emoji should be used.
>>
>>59565662
/thread
>>
In Switzerland we use ' for the thousands separater.

The moral is to use a library.
>>
>>59565262
nah its 1 000,00
>>
>>59567271
Or 1'000.00.
>>
>>59567261
I like this solution
1'234'567.89
>>
>>59567280
1|234|456.89
>>
>>59567350
woah there buddy
>>
>>59567350
Should be 1 and 0.
112341567089
>>
>>59567350
>not 1234567•89
>>
How? Just regex it so that it only counts commas/dots inbetween two numbers.
Unless you're stupid
>>
>>59564930
Decimal point, obviously. There is absolutely no reason for using a comma. It's a source needless ambiguity. Different meaning, use a different symbol.
>>
Why not just use space as thousands separator. 1 798,78
>>
>>59565262
>not superior 1'000,00
>>
The one that when you type it into a compiler it will do what you expect.

History is written by the victors.
>>
>>59565926
1,000.00 in American standards.
, (Europe) = . (America)
.(America) = , (Europe)
>>
1234*10^-2
Throw errors if you see any other punctuation.
>>
>>59567560
and what if I roll my own compiler
Thread posts: 26
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.