Internationalization of Number to String Conversions

13 views
Skip to first unread message

Ming

unread,
Mar 12, 2012, 5:57:20 PM3/12/12
to babyl...@googlegroups.com
I've modified Babylscript so that it will localize number to string conversions. So in French,
 
   "a = " + (1,5)
 
will give you "a = 1,5" and not "a = 1.5". In the code, you can set the locale used for conversions using Context.setLocale(). In the web demo, you set the locale by changing the default language.
 
-Ming
Reply all
Reply to author
Forward
0 new messages