A Package to calculate the Least-Common-Multiple of any two numbers.
npm install lcm-calc
import lcmCalc from 'lcm-calc';
console.log(lcmCalc(12, 15));
This will log the LCM- 60 in this case.
NPM Package to calculate LCM of two numbers (Jest & While Loops Practice)
A Package to calculate the Least-Common-Multiple of any two numbers.
npm install lcm-calc
import lcmCalc from 'lcm-calc';
console.log(lcmCalc(12, 15));
This will log the LCM- 60 in this case.
NPM Package to calculate LCM of two numbers (Jest & While Loops Practice)
https://www.npmjs.com/package/lcm-calc
MIT License