[Kmymoney-devel] [kmymoney4] [Bug 346000] New: Buys into brokerage account from investments are not rounded

Ian Neal iann_bugzilla at blueyonder.co.uk
Wed Apr 8 21:54:46 UTC 2015


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

            Bug ID: 346000
           Summary: Buys into brokerage account from investments are not
                    rounded
           Product: kmymoney4
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: iann_bugzilla at blueyonder.co.uk

When buys are made for an investment account the cash value does not seem to
get rounded to the nearest penny which causes cash value in brokerage account
to be misreported.
For example:
£0.00 is shown in red that indicates it is less than 0
A dividend of £63 is paid, shows correctly but then a buy is made of 1.6333
shares at 2.0633 totalling £3.3699 (as shown in the investment account) which
should round up to £3.37 in the brokerage account but is shown as £3.36
The total after that buy in the brokerage account shows as £59.62 (should be
£59.63)

Reproducible: Always

Steps to Reproduce:
1. Create Investment account and brokerage account
2. Create some investments which are to 4 decimal places and price precision of
6 
3. Buy some investments that do not total to 2 decimal places (e.g. 3.3699
rather than exactly 3.37)

Actual Results:  
Brokerage account display incorrect totals and values

Expected Results:  
Brokerage account displays correct totals and values

I am sure this is a recent regression as this first time I have noticed it in
the last year or so.

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


More information about the KMyMoney-devel mailing list