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 04aa1731b5
commit e903f5c20d

View file

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