modulus-operator
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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"

Readme

Keywords

none

Package Sidebar

Install

npm i modulus-operator

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

2.13 kB

Total Files

7

Last publish

Collaborators

  • fizzbuzz-npm