[kmymoney] [Bug 489451] New: When buying stocks with precision>2, the rounding rule used in the ledger is wrong
matt
bugzilla_noreply at kde.org
Sat Jun 29 18:43:33 BST 2024
https://bugs.kde.org/show_bug.cgi?id=489451
Bug ID: 489451
Summary: When buying stocks with precision>2, the rounding rule
used in the ledger is wrong
Classification: Applications
Product: kmymoney
Version: 5.1.2
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: kmymoney-devel at kde.org
Reporter: kdebugs.m7 at xoxy.net
Target Milestone: ---
Created attachment 171186
--> https://bugs.kde.org/attachment.cgi?id=171186&action=edit
screenshot showing the bug
***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org
If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
SUMMARY
When you buy stocks that have a precision > 2 and the rounding option is set to
closest ("arrondi" in my french interface) the value is right in the edit
window but the value that is written in the ledger seems to use the truncate
rule instead. I have attached a screenshot that shows the discrepancy.
STEPS TO REPRODUCE
1.
2.
3.
OBSERVED RESULT
EXPECTED RESULT
The value written in the ledger should use the right rounding rule when buying
stocks
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: ubuntu 22.04
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list