1.0.1 • Published 8 months ago

is-divisible-by-seventeen v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

is-divisible-by-seventeen

Monthly Downloads NPM version GitHub Stars Banner

This library is designed to help determine if a number is divisible by 17. This was inspired by the fact that many of the multiples of 17 are relatively unknown. For example, I often forget that 51 actually happens to be divisible by 17 because it equals 17*3. Therefore, this library gives an easy way to clear any of this confusion.

Example

Here is an example use case:

var is_divisible_by_seventeen = require("is-divisible-by-seventeen");

const num = 289;
const result = is_divisible_by_seventeen(num);
console.log(result); // Prints "true"
1.0.1

8 months ago

1.0.0

8 months ago