A Package to calculate the Highest Common Factor of any two numbers.
npm install hcf-calc
import hcfCalc from 'hcf-calc';
console.log(hcfCalc(12, 16));
This will log the HCF- 4 in this case.
NPM Package to calculate the Highest Common Factor of any two numbers
A Package to calculate the Highest Common Factor of any two numbers.
npm install hcf-calc
import hcfCalc from 'hcf-calc';
console.log(hcfCalc(12, 16));
This will log the HCF- 4 in this case.
NPM Package to calculate the Highest Common Factor of any two numbers
https://www.npmjs.com/package/hcf-calc
MIT License