big-number-euler
v1.0.1
Published
This is a simple module to sum, pow and div number in ProjectEuler
Downloads
2
Readme
big-number-euler
This is a simple module to sum, pow and div number in ProjectEuler.
All result can contain about 1000 digits
Note: All arguments must be String
Use
The only thing you need is call a variable like that
var bigNumber = require("big-number-euler")
Sum
bigNumber.sum('1234','4321') ==> 5555
Pow
bigNumber.pow('1234','4321') ==> 5332114
Div
bigNumber.div('2491398','546') ==> 4563