9 Replies Latest reply on Jul 26, 2019 5:45 AM by 3511817

    Summation is getting failed for the decimal values

    3511817

      Hi everyone,

       

      Kindly help us for below issue.

      I have written lines of code which will show an error message if the addition of summation and Tax value is not equal to Invoice Total amount value. Below is the written code.

      If we send the numeric value through the tax field it works fine but while sending decimal value through the tax field, the summation is failing in spite of correct addition of values of subtotal and tax.

      Please find below the screenshot for two scenarios:

      1. Sending floating value through the tax:

      2. Sending only numeric value through the tax:

      Kindly provide your suggestion in this issue as to why the summation is getting failed for decimal point value.

       

      Please let me know if any further information from my end.

       

      Thanks,

      Anirban