[Kmymoney-devel] [kmymoney4] [Bug 331638] New: Transaction splitting ignores third decimal place

AbdulRahiem Dubelaar abdulrahiem at abdulrahiem.de
Sat Mar 1 07:42:44 UTC 2014


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

            Bug ID: 331638
           Summary: Transaction splitting ignores third decimal place
    Classification: Unclassified
           Product: kmymoney4
           Version: 4.6.4
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: abdulrahiem at abdulrahiem.de

KWD has three decimal places. It all works well in the main pages. But when
trying to split a transaction of, say KWD 16.575, in the split window the last
5 fils get rounded to zero. So, there is forever a warning that 5 fils have not
been allocated.

Reproducible: Always

Steps to Reproduce:
1.Enter any amount, say, 16.575 or 48.840 (these are randomly picked amounts)
2.Split into any amount, where the split amount ends with 5 fils
3.
Actual Results:  
If a split amount of, say, 10.075 is selected, it get deducted correctly from
the intitial amount that will then show (correctly) 6.500, but the amount of
the split is captured as 10.08 and not as 10.075.

Expected Results:  
Expected result is 10.075.

Since the problem does not occur on any of the main pages, it seems to me that
it is merely a matter of allocating three, instead of two decimal place in the
code for split window.

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


More information about the KMyMoney-devel mailing list