Summary: | wrong amount on transfer with currency change | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Markus Granzow <markgran> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | markgran |
Priority: | NOR | ||
Version: | 4.6.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kmymoney/8901699c749384497fe6ee71309e868466c20e49 | Version Fixed In: | |
Sentry Crash Report: |
Description
Markus Granzow
2012-05-31 21:11:07 UTC
Das Problem existiert immer noch in Release 4.6.4. Git commit 8901699c749384497fe6ee71309e868466c20e49 by Thomas Baumgart. Committed on 27/12/2013 at 12:04. Pushed by tbaumgart into branch 'master'. Fix precision of price returned from price entry dialog The returned price was truncated by the global price precision which could cause all kinds of trouble when an amount was entered but the price precision was not large enough to yield the same result in the equation result = amount / price * price; Now the price is returned without precision loss in case it is based on an amount (method is selected by the user in the dialog). In the case the price is entered it is returned with the global price precision in effect. Related: bug 205254, bug 325953 M +8 -9 kmymoney/dialogs/kcurrencycalculator.cpp M +12 -1 kmymoney/dialogs/kcurrencycalculator.h http://commits.kde.org/kmymoney/8901699c749384497fe6ee71309e868466c20e49 |