[kmymoney] [Bug 501997] New: When buying / selling shares for an investment, the value is rounded to two decimal places

Tony bugzilla_noreply at kde.org
Tue Mar 25 20:51:15 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=501997

            Bug ID: 501997
           Summary: When buying / selling shares for an investment, the
                    value is rounded to two decimal places
    Classification: Applications
           Product: kmymoney
           Version: git (master)
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: ux-ui
          Assignee: kmymoney-devel at kde.org
          Reporter: tony at kiwitones.xyz
  Target Milestone: ---

SUMMARY
This bug is identical to that reported in bug report 403249. It appears to be a
regression.

STEPS TO REPRODUCE
1. Create a new security of type Stock having price precision of 4 and
remainder of Round.
2. In the ledger, enter a Buy transaction of 70 shares and Price/share of
35.6550

OBSERVED RESULT
The Price/share changes to 35.65. The Total amount shows 2495.50

EXPECTED RESULT
The Price/share should show 35.655. The Total amount should show 2495.85.

SOFTWARE/OS VERSIONS
Windows 10
Ubuntu Linux
(I reproduced it on both platforms)

ADDITIONAL INFORMATION
KMyMoney version 5.1.92-bfd5a63 (from the Help/About KMyMoney menu)
KMyMoney build master 4183

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list