Here goes python output:
>>> import locale >>> locale.getdefaultlocale() ('pl_PL', 'UTF8') >>> locale.localeconv()['decimal_point'] '.' >>> locale.atof("100,1") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/locale.py", line 292, in atof return func(string) ValueError: invalid literal for float(): 100,1
Seems it does not work. The decimal point used in Poland is ','.
Yet /usr/share/i18n/locales/pl_PL seems to be set correctly ...
Here goes python output:
>>> import locale getdefaultlocal e() localeconv( )['decimal_ point'] atof("100, 1") python2. 6/locale. py", line 292, in atof
>>> locale.
('pl_PL', 'UTF8')
>>> locale.
'.'
>>> locale.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
return func(string)
ValueError: invalid literal for float(): 100,1
Seems it does not work. The decimal point used in Poland is ','.
Yet /usr/share/ i18n/locales/ pl_PL seems to be set correctly ...