We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Finds remainder of x/y with sign of y (floored division).
Similar: rem, mod, modp.
mod(x, y); // x: dividend // y: divisor
const {mod} = require('extra-math'); mod(1, 10); // 1 mod(-1, 10); // 9 mod(1, -10); // -9