mod

Get the modulus of a number.

Parameters:

No. Type Comments
1 Any numeric type The dividend value
1 Any numeric type The divisor value

Returns:

int - The modulus result

Usages:

  • mod( dividend : numeric-type, divisor : numeric-type ) : int