UNPKG

@dineshkashera/math-basic-operation

Version:
18 lines (15 loc) 437 B
# math-operation Will perform basic math basic operations # Installation ```bash npm i @dineshkashera/math-basic-operation ``` # Demo ```angular2html 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)); ```