← All errors

MCH

MCH1211 Divide by zero

Most common cause

A division with a divisor equal to zero.

Other causes

  • A divisor read from a file, with unexpected zero values (prices, quantities, exchange rates).

How to fix it

Check the divisor before dividing, and decide what result to give when it is zero. In RPG it arrives as RNQ0102.

Related errors