Hi Jean-Baptiste,

qx.locale.Number.getDecimalSeparator() should suit your needs :)


Regards,
Daniel

Jean-Baptiste BRIAUD -- Novlog schrieb:
> Hi,
> 
> Is there a way to know what is the decimal separator as it depends on local ?
> 
> I set up a filter on TextField to force number :
> setFilter(/[0-9\.]/);
> 
> Unfortunately, it is sometimes a comma, sometimes a dot...
> 
> I googled it and found : 
> http://stackoverflow.com/questions/1074660/with-a-browser-how-do-i-know-which-decimal-separator-does-the-client-use
> but apparently, it is not multibrowser.
> 
> Any idea ?
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 


------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to