How to do division? With two variables?

Integer divisions can fail since you could try to divide by 0, thus you need to handle the failure

You can use floats otherwise, since division by 0 is handled by the NaN value

1 Like