Generates the remainder after division.
<mod 17,5> generates 2.<mod 7.5,2> generates 1.5.<mod -7,3> generates -1.<mod 17,5,3> generates 2 (17 mod 5 is 2, then 2 mod 3 is 2).A list of one or more numerical values.
None.
The first value is divided by the second, and the remainder generated. If there are more values, the operation is repeated on the result.
<mod -7,3> is -1, and <mod 7,-3> is 1.<mod 17,null,5> generates 2. If every value is null, the result is null.mod is often used to test whether a number is even: <eq <mod n, 2>, 0>.