Mod is a mathematical function that returns the remainder, or modulus, from a division. The function syntax is:
where arg2 is the divisor and arg1 and arg2 are expressed by the following arguments:
A numeric value. For example, Mod (6, 4) returns the value 2. Numeric values can include decimals and negative values. For a description of numeric arguments, see Numeric Arguments. | |
A pointer to a row, column, or cell within a grid. References can be specified in several ways. The reference syntax is: GridName.GridElement[segment(range)].Property For more information, see Row, Column, or Cell Reference Arguments. | |
An embedded function. For a list of mathematical functions, see Mathematical Functions. |
The following example divides 10 by 5 and returns the remainder of 0:
Mod (10,5) = 0