Finds the remainder after dividing two numbers.

This function is valid in v2.12.0 to v2.20.0. This function has been downloaded 22 times.


{number} number1
Number to be divided by number2.
{number=} number2 Optional
Number to divide by number1.


If number1 and number2 are given number1 will be divided by number2 and the remainder will be returned. Otherwise a partial function will be returned which when called will accept one number and will return the remainder of dividing the number passed to the partial function by number1.

Required Function

This function requires the following function which is included automatically:

  • lt()
    Determines if one value is less than another value.