Bug Report: Another Rounding Error

Another Rounding Error

Set a tax of 9.75% Add a new invoice Set an order discount of 20% Select the new 9.75% tax rate Set status to pending Enter an item for 44.50 Grand total should be 39.07 Save the invoice Fro

SS

Scott Smith

Reported

Set a tax of 9.75% Add a new invoice Set an order discount of 20% Select the new 9.75% tax rate Set status to pending Enter an item for 44.50 Grand total should be 39.07 Save the invoice From list invoices, select add payment for the above Enter a payment of 39.07 Save the payment

In the invoice listing, the newly added and paid invoice will show balance of 0.00 but status of Partially Paid. See attached screen clip.

I’ve seen this several times now with different amounts. This time, I thought to record what led to the issue. It is repeatable on my system and on the demo.

I think it is a floating point rounding bug.

  • MS

    Mian Saleem

    Answered

    Hello,

    Yes, I think that is causing due to rounding. I will check this again and use strict rounding as per decimals from settings.

    Thank you

  • Login to Reply