Mod (Function)
Gives the remainder.
<Expression 1> Mod <Expression 2>
Parameters
<Expression 1>
|
The expression to be divided (integer).
|
<Expression 2>
|
The expression to divide (integer).
|
Return Value
None.
Description
The value of <Expression 2> must not be 0.
Values must be from -2147483648 to 2147483647 for <Expression 1> and <Expression 2>.
When the values of <Expression 1> and <Expression 2> are double-precision type, the fractional part is handled as a rounded value.
Example
Run a counter between 0 and 100.