Modulus

This function can be accessed only in the Toolbox.

Modulus returns the remainder after division.

In mathematics, the remainder is the amount "left over" after division. For example, the remainder of 10 / 4 is 2, because 4 goes into ten twice with two left over. You'll see this written as 10 / 4 = 2 r 2, the 'r' standing for remainder.

Format: Modulus(@,@)

For example:

Modulus(10,4)

10 / 4 = 2 with a remainder of 2

Modulus returns 2

This function has no parameters.