From c815128913f62f008abdff9c62ae03be0f03fe34 Mon Sep 17 00:00:00 2001 From: Connor Barr Date: Sat, 28 Dec 2024 11:00:39 +0000 Subject: [PATCH] fix: lint --- packages/web/utils/number.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/web/utils/number.ts b/packages/web/utils/number.ts index 51c1a51b98..a3e7dab955 100644 --- a/packages/web/utils/number.ts +++ b/packages/web/utils/number.ts @@ -108,8 +108,7 @@ export function fixDecimalCount( const split = value.split("."); const integerPart = split[0]; const fractionalPart = split[1] ? split[1].substring(0, decimalCount) : ""; - const result = - integerPart + (decimalCount > 0 ? "." + fractionalPart : ""); + const result = integerPart + (decimalCount > 0 ? "." + fractionalPart : ""); return result; }