modulo

function, since version 1.0.0
categories: math

modulo(a, b)

Returns remainder after division of one number by another. a % b is the same as modulo(a, b)

parameters

return type

number

example

modulo(10, 3)
modulo(10, 2)

returns

1
0

Related functions:

Update your privacy settings