...
- The sign of the remainder is always the same as that of the dividend. For example,
-23
%-12
will result in the value-1
. Thus its behavior can sometimes be deceptive.
...
...
-23
% -12
will result in the value -1
. Thus its behavior can sometimes be deceptive....