Home Search

DriveWorks Pro 21
Mod

Send Feedback

Mod

This function, when calculated, divides the number by the divisor and returns the remainder of the result.

Syntax

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.

Examples

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.

Example Outcomes

BoardLengthTextBoxReturn Value

SlotSpacingTextBoxReturn Value

Result of the Mod function

500200
10001714
170115