[PySide] Strange behaviour of QLocale.toString()
Alexey Vihorev
vihorev at gmail.com
Sun Apr 14 12:03:21 CEST 2013
Hi!
1. from PySide.QtCore import QLocale as PySideLocale #PySide 1.1.2 on Win32
2. from PyQt4.QtCore import QLocale as PyQtLocale
3.
4. print(PySideLocale().toString(9999999.99, 'f', 2)) #prints '10 000
000,00'
5. print(PyQtLocale().toString(9999999.99, 'f', 2)) #prints '9 999 999,99'
I guess it's a bug, right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20130414/f6a3c9d0/attachment.html>
More information about the PySide
mailing list