[kmymoney] [Bug 484680] New: Investment quantity does not support decimal numbers

Matthew Schultz bugzilla_noreply at kde.org
Thu Mar 28 18:49:57 GMT 2024


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

            Bug ID: 484680
           Summary: Investment quantity does not support decimal numbers
    Classification: Applications
           Product: kmymoney
           Version: 5.1.3
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: mattsch at gmail.com
  Target Milestone: ---

SUMMARY

When I try to enter an investment ledger line with a fractional share quantity,
it rounds to the nearest integer which is incorrect.  The transactional was a
purchase of a fractional share (in this case the quantity was 0.738).  Please
modify the quantity field for investments to support decimal numbers and allow
entering fractional share transactions.


STEPS TO REPRODUCE
1.  Enter a quantity in an investment account as a decimal number.
2.  Notice the quantity gets rounded to the nearest integer.

OBSERVED RESULT
A decimal number in the investment quantity transaction gets rounded to the
nearest integer in the quantity field.

EXPECTED RESULT
A decimal number should not be modified at all when entered in the quantity
field of an investment account.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo
(available in About System)
KDE Plasma Version:  5.27.11
KDE Frameworks Version: 
Qt Version: 5.15.12

ADDITIONAL INFORMATION

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


More information about the KMyMoney-devel mailing list