I decided to ask this question in this group since it is quite 
international and chances of someone encountering the dilemma is higher 
than other places. Its not really a bug or stripes related, but more of 
a Java conundrum.

We have client from Europe and USA trading on the same platform. In US, 
decimal separator is a dot (.) while in EU its a comma (,). So buying 
stock in US one would enter price as 4.01 and in EU it would be 4,01. 
Assuming that the user is set to a proper Locale, the above mentioned 
works fine. The problem is when EU client tries to use US notation while 
under EU Locale, then 4.01 would be parsed as 401.0 - that's a problem 
since a lot of EU brokers are thinking in US notation.

Has anyone come across this dilemma? And if yes, any hints on how to 
overcome it???

Thanks

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to