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

Discussions about iCompta on macOS
Post Reply
japin78
Posts: 3
Joined: 12 November 2014, 21:56

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

Post by japin78 » 13 March 2017, 16:24

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 211 times
Thanks for your help.
JP

User avatar
Angeman
Administrateur
Posts: 1782
Joined: 28 December 2008, 21:28
Location: Toulouse, France
Contact:

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

Post by Angeman » 13 March 2017, 20:12

Can you send me your .comptadb file by email so that I can investigate and fix the bug ?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests