https://bugs.kde.org/show_bug.cgi?id=523723
Bug ID: 523723
Summary: 0.5 rounds to 0 instead of 1
Classification: Applications
Product: kmymoney
Version First 5.2.2
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 194765
--> https://bugs.kde.org/attachment.cgi?id=194765&action=edit
screenshot rounding issue
DESCRIPTION
I enter a buy shares operation of 19 shares at 26.155 with 1.99 fees and
kmymoney computes the total as 498.93 instead of 498.94. The investment price
precision is 3 and the rounding rule is "round".
STEPS TO REPRODUCE
1.
2.
3.
OBSERVED RESULT
498.935 is rounded as 498.93
EXPECTED RESULT
when the rounding rule is round, 498.935 should be rounded to 498.94
SOFTWARE/OS VERSIONS
Ubuntu 24.04
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.