This function, when calculated, divides the number by the divisor and returns the remainder of the result.
Mod([Number], [Divisor])
Where:
Number is the number, or reference to a number, that you want to divide.
Divisor is the number that you want to divide by.
Rule | Meaning |
---|---|
Mod(BoardLengthTextBoxReturn, SlotSpacingTextBoxReturn) | The Mod function divides the return value from the BoardLengthTextBox, by the return value from the SlotSpacingTextBox. The remainder of this result is returned. |
BoardLengthTextBoxReturn Value | SlotSpacingTextBoxReturn Value | Result of the Mod function |
---|---|---|
500 | 20 | 0 |
1000 | 17 | 14 |
170 | 11 | 5 |