mod()

Get the remainder after dividing 2 numbers while making sure the remainder is always between 0 and the divisor..

This function is valid in v2.0.0 to v2.14.0. This function has been downloaded 45 times.

Parameters

{number} dividend
Number to be divided.
{number} divisor
Number to divide by.

Returns

{number}
Remainder after dividing the dividend by the divisor.