Back to Arithmetic
mod
Modulo (remainder after division).
Syntax
mod(a, b) → Remainder a mod b
Backends
TypeScript
Description
Modulo (remainder after division).
Parameters
| Name | Description |
|---|---|
| a | Dividend |
| b | Divisor |
Returns
Remainder a mod b