Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Summation is getting failed for the decimal values

Rajeev Ranjan SharmaJul 12 2019 — edited Jul 26 2019

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.

pastedImage_0.png

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:

pastedImage_1.png

2. Sending only numeric value through the tax:

pastedImage_2.png

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

Comments
Post Details
Added on Jul 12 2019
9 comments
143 views