Data / Math
data/modulo
Modulo
Returns the remainder of A ÷ B. Returns 0 if B is zero.
Note: Useful for even/odd checks (a % 2) or cycling through ranges.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
a |
number | Dividend. | |
b |
number | Divisor. |
Outputs
| Name | Type | Description |
|---|---|---|
result |
number | Remainder of A ÷ B. |