diff --git a/lib/ui/amount.js b/lib/ui/amount.js index 2b0eeff4..7c5a24b2 100644 --- a/lib/ui/amount.js +++ b/lib/ui/amount.js @@ -90,7 +90,7 @@ class Amount { */ toMilli(num) { - return Amount.encode(this.value, 5, num); + return Amount.encode(this.value, 3, num); } /** @@ -180,7 +180,7 @@ class Amount { */ fromMilli(value) { - this.value = Amount.decode(value, 5); + this.value = Amount.decode(value, 3); return this; }