https://bugs.kde.org/show_bug.cgi?id=498903

--- Comment #5 from Stephane MANKOWSKI <steph...@mankowski.fr> ---
Hi,

Here is my analysis:

    QLocale::setDefault(QLocale::German);
    SKGTEST(QStringLiteral("CONV:stringToDouble"),
SKGServices::stringToDouble(QStringLiteral("1,234")), 1.234) => this test is OK
    SKGTEST(QStringLiteral("CONV:stringToDouble"),
SKGServices::stringToDouble(QStringLiteral("1.234")), 1234) => this test is OK
    SKGTEST(QStringLiteral("CONV:stringToDouble"),
SKGServices::stringToDouble(SKGServices::doubleToString(1.234)), 1.234) => this
test is KO because doubleToString(1.234) return "1.234" and
stringToDouble("1.234") return 1234.

This is why you have the issue in transaction edition, because the value 1,234
is converted into 1.234  when you type on enter or when the focus changes. I
don't know how to fix that yet.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to