Skip to content

A local-first personal finance app

fix: remove unnecessary conversion to 32 bit

Tom Frenche903f5c20da8
diff --git a/packages/api/utils.js b/packages/api/utils.js
index ba4dbefa64..b59d259d6c 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) {