[Development] QLocale changed?

Knoll Lars Lars.Knoll at theqtcompany.com
Thu Nov 26 09:55:44 CET 2015

Its a behavioural change, after we got quite a few bug reports about this behaviour (being inconsistent with what people expect). See change 3695285fde904935fc2e88010dac171144e8677a and the bug reports mentioned in there.


On 26/11/15 09:39, "Development on behalf of David Faure" <development-bounces at qt-project.org on behalf of faure at kde.org> wrote:

>    QCOMPARE(QLocale::c().toString(1234.0, 'f', 0), QString("1,234"));
>was the behavior until Qt 5.5
>With Qt 5.6, this happens:
>   Actual   (QLocale::c().toString(1234.0, 'f', 0)): "1234"
>   Expected (QString("1,234"))                     : "1,234"
>Is this an expected change?
>David Faure, faure at kde.org, http://www.davidfaure.fr
>Working on KDE Frameworks 5
>Development mailing list
>Development at qt-project.org

More information about the Development mailing list