modulus-operator
v1.0.0
Published
% operator
Downloads
70
Readme
modulus-operator
% operator
Usage
const modulus = require("modulus-operator");
console.log(modulus(6, 2)); //Prints "0"
console.log(modulus(70, 4)); //Prints "2"
console.log(modulus("50", "10")); //Prints "0"