Page 1 of 1

Possible rounding error converting V5.1.18 db to V6.0.3

Posted: 13 March 2017, 16:24
by japin78
I have just converted a V5 db to V6 by opening it V6. The result contains a discrepancy of 0.02 euros. Certainly a very small error, which seems to have been caused by rounding errors in one transaction from January 2012. The screenshot shows the same transaction in the two different dbs, with the V5 screen at the top.
The transaction amount is -63.91 euros and is split between 3 categories with amounts, 0.00, -31.96, -31.96 euros. Each -31.96 amount represents 50% of the total which should be -31.955 but has been rounded to -31.96 by the application.
The transaction in the V6 file shows the same 3 categories of 0.00, -31.96 and -31.96, but the total amount is now -63.93 euros instead of -63.91 and an extra split of -0.01 has been added. It seems that the category amounts have been added together to make this incorrect total.
Of course I can easily make a manual correction to the transaction in the V6 db, but I'm a little concerned that there may be other such anomalies in the conversion.
Screen Shot 2017-03-13 at 13.55.19.png
Screen Shot 2017-03-13 at 13.55.19.png (140.14 KiB) Viewed 3293 times
Thanks for your help.
JP

Re: Possible rounding error converting V5.1.18 db to V6.0.3

Posted: 13 March 2017, 20:12
by Angeman
Can you send me your .comptadb file by email so that I can investigate and fix the bug ?