bigN
big numbers operation
Install
$ npm install bign
Test
mocha test
Using
let BigN = let num = '23.234'num // -> '1257.3564'num // -> '23.234''1.6' // -> '1.92'
Class BigN(number[, decimalNumber])
receive the number like string to be used and decimalNumber, if the decimalNumber is not passed then the length of number is used
Instance rest(number) -> this
receive the number to be rested to instance number. Return itself instance.
Instance add(number) -> this
receive the number to be added to instance number. Return itself instance.
Instance multiply(number) -> this
receive the number to be multiplied to instance number. Return itself instance.