Math

Modulo

The remainder of a division.

a
b
Modulo
Out
Node image coming soon

Usage

Both operands must be the same numeric type. Handy for wrapping a value into a range — an angle back into 0–360, an index back to the start of a list.

Inputs

TypeNameDescription
numbera Dividend.
numberb Divisor.

Outputs

TypeNameDescription
numberOut The remainder of a ÷ b.