Skip to content

MOD

Returns the remainder when one number is divided by another.

js
MOD(number, divisor)

Parameters

  • number - The value from which the remainder will be calculated.
  • divisor - The value by which the number is divided.

Examples

js
MOD(6, 4)

Result: 2