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

--- Comment #1 from Thomas Baumgart <tbaumg...@kde.org> ---
Very strange behavior which differs on Linux and Windows:

The code section

    precision = MyMoneyMoney::denomToPrec(currency.smallestAccountFraction());
    smallestFraction = MyMoneyMoney::ONE /
MyMoneyMoney(currency.smallestAccountFraction());
    qDebug() << "account precision" << precision <<
smallestFraction.formatMoney(QString(), precision);

provides the following output on Linux:

   account precision 8 "0,00000001"

but on Windows we get

   account precision 8 "0,00 €"

I have not clue what is going on here. This explains why 0,00 € is shown in the
dialog when editing the currency. BTW, the display in the edit currency is
identical no matter if compiled with MSVC (KDE CI/CD) or cross-compiled
(snapshots).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to