Posts: 2,441 since Apr 2013
Thanks Given: 491
Thanks Received: 1,634
|
RickW,
there probably is at least one division at your code where the divisor is zero at one moment (could be at the very first calculation). Otherwise this error shouldn't come up.
What exactly do you check with your IFF statement?
You might have to block parts of your code or add print statements (to see where the calculation stops) in order to isolate where the problem is coming from. This will make it easier to find and fix.
Regards,
ABCTG
|