From 6e15b985cbd9005427d10218cfe406a4717dce66 Mon Sep 17 00:00:00 2001 From: Tom French Date: Fri, 29 Jul 2022 00:10:49 +0100 Subject: [PATCH] fix: remove unnecessary conversion to 32 bit --- packages/api/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/utils.js b/packages/api/utils.js index ba4dbef..b59d259 100644 --- a/packages/api/utils.js +++ b/packages/api/utils.js @@ -1,5 +1,5 @@ function amountToInteger(n) { - return Math.round(n * 100) | 0; + return Math.round(n * 100); } function integerToAmount(n) {