I am developing an accounting system where another system sends data to my accounting software. the other system uses double-precision while my accounting system uses decimal with rounding up to 2 decimal places. the problem occurs after the rounding is done, the totals representing the debit side and credit side are not equal anymore due to differences around 0.01 or 0.02...or so due to the rounding.
This makes it impossible to save the voucher to update accounts. I am wondering what could be a professional solution to that problem.
Any help is appreciated as this issue is occurring in production.