0/0 is 0, isn't it?

The formula 0/0 returns nan. Shouldn’t it return 0?

No. Division by zero is undefined in mathematics, and an error on computer hardware.

You can get the result you want with divzero(0,0).

1 Like