Answered
Language is FormCalc
I am trying to calculate the gross margin percentage for a form. The calculation is pretty simple:
Sum(gross/SellPrice) * 100
When I switch from Designer mode to PDF Preview, I get the following error:
Error: arithmetic over/underflow
But the equation works and produces the proper result.
I have done research and found that the error id in response to the number being divided by zero.
So the question is, what is the formcalc code I need to enter in the script to deal with the divide by zero thing?
Thanks,
Gillian
George Kaiser