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
I'm entering fractional share quantities all of the time. Check the Fraction configured for the investment. Maybe it's set to 1/1. I think it defaults to 1/100 and I change it to 1/1000 for every new investment I add (because there doesn't seem to be a way to change the default).
(In reply to Ingo Klöcker from comment #1) > I'm entering fractional share quantities all of the time. Check the Fraction > configured for the investment. Maybe it's set to 1/1. I think it defaults to > 1/100 and I change it to 1/1000 for every new investment I add (because > there doesn't seem to be a way to change the default). How do I do that? I can't set a fraction in the quantity field or a decimal number for the investment transaction. It only allows whole numbers.
You have to edit the investment in the Investment view. Check the manual if you don't find it.
Ok I figured it out. I had to change each specific investment in the investment detail wizard under the "fraction" field from 1 / 1 to 1 / 1000 and then it finally allowed me to enter a decimal quantity. It's not very intuitive as to what the fraction field does but at least I got it to work. Thanks!