fix: remove unnecessary conversion to 32 bit
This commit is contained in:
parent
04aa1731b5
commit
e903f5c20d
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
function amountToInteger(n) {
|
||||
return Math.round(n * 100) | 0;
|
||||
return Math.round(n * 100);
|
||||
}
|
||||
|
||||
function integerToAmount(n) {
|
||||
|
|
Loading…
Reference in a new issue