I use this approach to get the time zone locale, probably that can be
extended to numbers too?

http://old.nabble.com/T5%3A-OutputLocaleNumber-td22068067.html#a22092360



Joachim Van der Auwera (PROGS bvba) wrote:
> 
> I have component which does some javascript manipulation on a form field 
> value which contains a double.
> Depending on the locale, this may use either a dot or a comma as decimal 
> separator.
> Is there a way in which I can know client side (in the javascript code) 
> what the current decimal separator is?
> 
> Thanks for the help,
> Joachim
> 
> -- 
> Joachim Van der Auwera
> PROGS bvba, progs.be
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/javascript-locale-for-numbers-tp26318414p26328722.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to