API Reference / mod · function
Function: mod()
function mod(a, b): number;
Python-style modulo: result has the sign of the divisor.
Parameters
| Parameter | Type |
|---|---|
a | number |
b | number |
Returns
number
function mod(a, b): number;
Python-style modulo: result has the sign of the divisor.
| Parameter | Type |
|---|---|
a | number |
b | number |
number