update exponent to be 3 instead of 5

This commit is contained in:
bucko13 2018-10-31 11:36:08 -07:00
parent 76f23d58b8
commit b26c19e2dc
No known key found for this signature in database
GPG key ID: 655248EB912C5A3D

View file

@ -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;
}