HP Forums

Full Version: Commas, dots, and spaces
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(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?
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..
Reference URL's