diff --git a/main.js b/main.js index 096b8bc..d36d5d5 100644 --- a/main.js +++ b/main.js @@ -1,18 +1,18 @@ //var Enc = require('./util/EncodedData').class(); var bignum = require('bignum'); -bignum.config({EXPONENTIAL_AT: 999999999}); -console.log(bignum('98320').toNumber()); +bignum.config({EXPONENTIAL_AT: 9999999}); +console.log(bignum('9832087987979879879879879879879879879879879879').toString()); var b = bignum('782910138827292261791972728324982') .sub('182373273283402171237474774728373') .div(8); console.log(b.toString()); -/* + var base58 = require('base58-native'); var m = 'mqqa8xSMVDyf9QxihGnPtap6Mh6qemUkcu'; var d = base58.decode(m); -var m2 = base58.encode(d); +//var m2 = base58.encode(d); console.log(m); console.log(d); /*