Synic-dx / LCM-Calc

NPM Package to calculate LCM of two numbers (Jest & While Loops Practice)

Home Page:https://www.npmjs.com/package/lcm-calc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM Version NPM License NPM Downloads NPM Downloads

LCM-Calc

A Package to calculate the Least-Common-Multiple of any two numbers.

Install:

npm install lcm-calc

Usage:

import lcmCalc from 'lcm-calc';

console.log(lcmCalc(12, 15));

This will log the LCM- 60 in this case.

About

NPM Package to calculate LCM of two numbers (Jest & While Loops Practice)

https://www.npmjs.com/package/lcm-calc

License:MIT License


Languages

Language:JavaScript 100.0%