Division by zero

The value of an expression being used as a divisor is zero.

To correct this error

  • Check the spelling of variables in the expression. A misspelled variable name can implicitly create a numeric variable that is initialized to zero.
  • Check previous operations on variable in the expression, especially those passed into the procedure as arguments from other procedures.

See Also

Debugging Basics