On Oct 29, 2011, at 11:11 AM, Aparajita Fishman wrote: >> Specifically the formatting for numbers, it doesn't seem as though a comma >> is accepted only periods. > > Good point.
begin rant This leads me to believe that whoever invented the bass ackwards way of displaying a floating "point" number or a "decimal" number was either trying to make money or was pissed because they lost a war or something and wanted to do it a different way. Reminds me of a leader who knows nothing about the economy but keeps trying things their way with hopes that something good will randomly happen and everyone will believe they are smart. end rant That being said, I admit I don't know much about internationalization, but it seems like a Y2K issue - more time and money spent on it than was needed. Or maybe more solutions instead of a single standardized/accepted method. (4D is doing this, ext.js is doing this, etc is doing this.) I seem to recall that real, decimal, floating point or exponential numbers are all stored using base and a radix. When you save it to the db it should not have any commas or commas converted to a decimal point(radix) as the last thing done before saving. When you get it from the db it should not have any commas and if you are going to display it with a comma, that is the last thing you do. Any transport between should be in base/radix or decimal notation. (do they actually do math with formatted numbers? 3.456,3434 x 3,14159 - 9 "comma spaces") I realize that people using "commas" to represent "decimal points" are stuck in their ways just as some people are resistant to a move to a metric system. But most of us know what would be the better way. Steve _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/
