diff --git a/src/js/amount.js b/src/js/amount.js index 8921a5092..afb652f46 100644 --- a/src/js/amount.js +++ b/src/js/amount.js @@ -597,7 +597,7 @@ Amount.prototype.parse_human = function(j) { this._is_native = false; var multiplier = consts.bi_10.clone().pow(precision); - this._value = this._value.multiply(multiplier).add(fraction); + this._value = this._value.multiply(multiplier).add(new BigInteger(fraction)); this._offset = -precision; this.canonicalize();