Cakalic, James wrote:

>>I found the comma to be jarring when I looked at my test logs.
>>
>
>As does most of the rest of the world when viewing numbers with fractional
>values separated by a period. The western bigotry (or more specifically
>American bigotry) that I've encountered on this subject is simply amazing. 
>

I don't know what you refer to when you say "most of the rest of the 
world," and "western bigotry."

When I list the Sun supported Locales that use the comma (,) vs the ones 
that use the period (.), the number of countries and the populations are 
rather tilted toward the period. And it seems that more of the "west", 
at least as represented by Western Europe, use the comma.
Here is the list from SDK 1.3.1:

comma (,)
Albania, Argentina, Austria, Belarus, Belgium, Brazil, Bulgaria, Canada, 
Chile, Croatia, Czech Republic, Denmark, Estonia, Finland, France, 
Germany, Greece, Hungary, Iceland, Italy, Latvia, Lithuania, Luxembourg, 
Macedonia, Netherlands, Norway, Paraguay, Peru, Poland, Portugal, 
Romania, Russia, Slovakia, Slovenia, Spain, Sweden, Turkey, Ukraine, 
Uruguay, Venezuela, Yugoslavia

period (.)
Algeria, Australia, Bahrain, Bolivia, Canada, China, Colombia, Costa 
Rica, Dominican Republic, Ecuador, Egypt, El Salvador, Guatemala, 
Honduras, Hong Kong, Iraq, Ireland, Israel, Japan, Jordan, Kuwait, 
Lebanon, Libya, Mexico, Morocco, New Zealand, Nicaragua, Oman, Panama, 
Puerto Rico, Qatar, Saudi Arabia, South Africa, South Korea, Sudan, 
Switzerland, Syria, Taiwan, Thailand, Tunisia, United Arab Emirates, 
United Kingdom, United States, Yemen

[snip]

>Not having reviewed your change, it seems that it at
>least allows configuration of this element based on local preference? If so,
>then I think it might be acceptable as long as the default separator (aka
>preferred) is maintained as the comma in conformance to the specification
>and the configuration permitted is to use a full stop instead (not
>replacement with any arbitrary character).
>
The code I submitted defaults to the comma, and it uses only the decimal 
separators that are returned by java.text.DecimalFormatSymbols 
(currently comma and period).

[rest deleted]

Mike McAngus
Associate Chief Engineer
Wendy's International
Knowledge Management
614-764-6776




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to