PhixFlow Help

mod



Function: mod

Returns the remainder after dividing a dividend by a divisor

Syntax

mod(dividend, divisor)

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

Examples

mod(8,7)

Returns 1


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

Returns [3,0,2]

See Also

Please let us know if we could improve this page feedback@phixflow.com