Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Excerpt
hiddentrue

mod(dividend, divisor) Returns the remainder after dividing a dividend by a divisor


Function: mod

Returns the remainder after dividing a dividend by a divisor

...

ArgumentTypeDescription
dividendNumberSingle number or list of numbers to be divided by divisor
divisorNumberNumber used to divide dividend

Examples

mod(8,7)

mod() returns Returns 1


mod([3,5,7],5)

mod() returns Returns [3,0,2]

See Also