is-divisible-by-seventeen
v1.0.1
Published
Determines if a number is divisible by seventeen
Downloads
22
Readme
is-divisible-by-seventeen
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"