[kmymoney] [Bug 439861] New: Rounding error on investment transactions
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Thu Jul 15 03:56:08 BST 2021
https://bugs.kde.org/show_bug.cgi?id=439861
Bug ID: 439861
Summary: Rounding error on investment transactions
Product: kmymoney
Version: 5.1.2
Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: kmymoney-devel at kde.org
Reporter: bschnick at gmail.com
Target Milestone: ---
Created attachment 140065
--> https://bugs.kde.org/attachment.cgi?id=140065&action=edit
screenshot of error
SUMMARY
Having problem entering some investment transactions. There is a slight
difference between the total amount shown in the transaction editing window and
the total amount shown in the ledger. Does not occur very often. Only appears
to occur with certain security.
STEPS TO REPRODUCE
1. Create sell shares transaction
2. Set shares at 0.04348. Set price at 197.78.
3. Total amount is shown as $8.60. However when I press enter the ledger
indicates total amount as $8.59.
OBSERVED RESULT
Entering shares at 0.04348 and price at 197.78 total amount in editing window
is $8.60 but total amount shown in ledger is $8.59.
EXPECTED RESULT
Amount in ledger to match amount in transaction editing window.
SOFTWARE/OS VERSIONS
Windows: 10
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
Have fraction for shares set at 1/100000 and have tried price precision of
2,3,4,5 and 6. Same result regardless of price precision.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list