fix: remove unnecessary conversion to 32 bit

This commit is contained in:
Tom French 2022-07-29 00:10:49 +01:00 committed by James Long
parent 9a442361ad
commit 6e15b985cb

View file

@ -1,5 +1,5 @@
function amountToInteger(n) { function amountToInteger(n) {
return Math.round(n * 100) | 0; return Math.round(n * 100);
} }
function integerToAmount(n) { function integerToAmount(n) {