Bug 462366 - The currency conversion rate for EUR/XPF is wrong
Summary: The currency conversion rate for EUR/XPF is wrong
Status: RESOLVED NOT A BUG
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.1.3
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-28 20:51 UTC by Alexandre Bonneau
Modified: 2022-11-29 00:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Bonneau 2022-11-28 20:51:58 UTC
SUMMARY
The currency conversion rate for EUR/XPF is wrong, leading to hugely wrong dashboards and reports


STEPS TO REPRODUCE
1. You have an account with the total amount 680.056 XPF
2. In the value calculated in Euro is calculated to 81.152.267,14 € (this is wrong)

The fixed ratio between EUR and XPF is equal to 1000/8,38 ~= 119,3317422.

OBSERVED RESULT & EXPECTED RESULT
When you have 680.056 XPF, you should do 680.056 / 119,33 ~= 5.698,86928€.
Currently Kmymoney does the inverse using 680.056 * 119,33  = 81.152.267,14 €.
Comment 1 Jack 2022-11-28 22:05:10 UTC
I doubt very much that KMM is multiplying instead of dividing.  It is more likely that the exchange rate has been set incorrectly, to the inverse of the correct rate..  Do you know where your exchange rate came from?  Did you download it or enter it manually?  If you open the price editor and find the price pair for those two currencies, what does it show?
Comment 2 Alexandre Bonneau 2022-11-29 00:43:24 UTC
Ok, my bad, it seems I have entered the 1000/8,38 ratio in both EUR -> XPF and XPF -> EUR ratio.
This is fixed now.
Thanks for the hint.