Mod

This function returns the modulus. The modulus operation divides num by div until num is less than div. This is useful for values that wrap, like the number of minutes on the hour.

Syntax

Parameters

Returns

Returns the modulus.