HP Forums
Commas, dots, and spaces - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Test forum (/forum-18.html)
+--- Thread: Commas, dots, and spaces (/thread-2059.html)



Commas, dots, and spaces - Joe Horn - 09-01-2014 10:50 PM

(09-01-2014 12:02 PM)Joe Horn Wrote:  linear_regression([14,21,30,38,45,60],[0.2,0.5,0.7,1.2,1.6,2.4])

It just hit me: The second half of that must be painful to the eyes of folks who use commas as their decimal point marker (radix? or whatever it's called). I should have included spaces, especially in the second part which contains decimals:

linear_regression([14, 21, 30, 38, 45, 60], [0.2, 0.5, 0.7, 1.2, 1.6, 2.4])

Probably still annoying, but better I hope?


RE: Commas, dots, and spaces - Steve Simpkin - 09-01-2014 11:11 PM

I have often wondered about the evolution of the digit separator throughout history and across countries. Unlike the seemingly arbitrary choice of driving on the left or right side of the road, I would have thought that the decimal separator character would have developed and spread more uniformly across Europe and then the U.S..