[kmymoney] [Bug 396313] rounding errors in currency conversion of investment transactions

Al bugzilla_noreply at kde.org
Fri Mar 12 20:44:12 GMT 2021


--- Comment #8 from Al <software at quantentunnel.de> ---
Created attachment 136629
  --> https://bugs.kde.org/attachment.cgi?id=136629&action=edit
Minimal data file

Attached the updated minimal data file. I have entered the same transaction
three times: (1) using the pre-entered CHF -> JPY conversion rate; (2) using
the JPY -> CHF conversion *rate*; (3) using the converted CHF *amount* (see
comments to the three transactions). Each time the amount in the bank account
is inaccurate: 108.00 CHF, should be 108.48 CHF.

Additionally, note that the conversion rate CHF -> JPY entered in the price
editor (1/0.008539 = 117.109731819) is correct when looked up in the price
editor (albeit rounded to 117.1097) but incorrect in the conversion dialog when
entering a transaction: JPY -> CHF = 0.0085 and CHF -> JPY = 117.1341. The
latter is 1/0.0085.

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

More information about the KMyMoney-devel mailing list