mod¶
Syntax¶
Parameters¶
x- The dividend.
y- The divisor.
Returns¶
The remainder of x/y.
Description¶
Modulo operation. Returns the remainder of x divided by y.
A divisor of 0 results in an error.
This is the prefix notation of the modulo operation. This operation can also be
represented by the infix notation x % y.