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);
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);