C = A % B;
This translates to the following Perl code:
$C = $A - int($A / $B) * $B;
So, this operator is tricky! It's easy to overlook this difference.
|Replies are listed 'Best First'.|
by LanX (Sage) on Jan 03, 2021 at 04:58 UTC