1.0.2 • Published 1 year ago
@dineshkashera/math-basic-operation v1.0.2
math-operation
Will perform basic math basic operations
Installation
npm i @dineshkashera/math-basic-operation
Demo
const mathOpt = require('@dineshkashera/math-basic-operation');
const mathObj = new mathOpt();
console.log('Addition: ',mathObj.add(5,10));
console.log('Subtract: ',mathObj.sub(5,10));
console.log('Multiply: ',mathObj.multiply(5,10));
console.log('Divide: ',mathObj.divide(5,10));