[kmymoney] [Bug 491828] Currency settings show incorrect
Ralf Habacker
bugzilla_noreply at kde.org
Mon Aug 19 20:37:58 BST 2024
https://bugs.kde.org/show_bug.cgi?id=491828
--- Comment #6 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Thomas Baumgart from comment #1)
> precision =
I changed the relevant code section to
precision = MyMoneyMoney::denomToPrec(currency.smallestAccountFraction());
smallestFraction = MyMoneyMoney::ONE /
MyMoneyMoney(currency.smallestAccountFraction());
qDebug() << "account precision" << precision <<
smallestFraction.formatMoney(QString(), precision) <<
smallestFaction.toDouble() << smallestFaction.toString()
and got
cash precision 8 "0,00 Bitcoin" 1e-08 "1/100000000"
account precision 8 "0,00 Bitcoin" 1e-08 "1/100000000"
which indicates that there is a issue with the formatMoney() method.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list