Function: mod
Returns the remainder after dividing a dividend by a divisor
Syntax
mod(dividend, divisor)
Argument | Type | Description |
---|---|---|
dividend | Number | Single number or list of numbers to be divided by divisor |
divisor | Number | Number used to divide dividend |
Examples
mod(8,7)
mod() returns 1
mod([3,5,7],5)
mod() returns [3,0,2]