Excerpt | ||
---|---|---|
| ||
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
...
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 Returns 1
mod([3,5,7],5)
mod() returns Returns [3,0,2]