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
| Type | Name | Description |
|---|---|---|
| number | a | Dividend. |
| number | b | Divisor. |
Outputs
| Type | Name | Description |
|---|---|---|
| number | Out | The remainder of a ÷ b. |