https://bugs.kde.org/show_bug.cgi?id=513916
Bug ID: 513916
Summary: Rounding errors in investment purchases
Classification: Applications
Product: kmymoney
Version First 5.1.3
Reported In:
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 188039
--> https://bugs.kde.org/attachment.cgi?id=188039&action=edit
Screenshot - correctly rounded total, wrong
SUMMARY
I noticed a rounding or input error when entering investment transactions. I
enter the total price of all shares instead of the price per share. As can be
seen in the screenshot at the beginning. The total amount is rounded correctly
in the input window, but then entered incorrectly.
A similar bug was reported as bug 439861 and should have been fixed in version
5.1.3, but it is still present in this version.
STEPS TO REPRODUCE
1. Create a transaction for the purchase of an investment share.
2. Create a total amount of xx.225; xx.445; xx.665 or xx.885 €.
OBSERVED RESULT
In one case, the correctly rounded total is displayed, but entered incorrectly
in the book. In further tests, the total was also rounded incorrectly.
xx.225 --> xx.22
xx.445 --> xx.44
xx.665 --> xx.66
xx.885 --> xx.88
The error does not occur with other entries such as xx.115; xx.335, etc.
EXPECTED RESULT
Correct rounding of all amounts
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
ADDITIONAL INFORMATION
In the securities settings, the ‘Round’ option is selected for the remainder.
--
You are receiving this mail because:
You are the assignee for the bug.