Why is there == 0 near some modulo in PHP?

I think you may be confusing a simple math operation with a more complex calculus function or something.

It’s more like

$dividend = 23;
$divisor = 5;
$quotient = floor ($dividend / $divisor);
$modulus = $dividend - ($divisor * $quotient);
1 Like