Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbarr93 committed Dec 28, 2024
1 parent c8d709d commit c815128
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/web/utils/number.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c815128

Please sign in to comment.