From ac2be9df4a9eea0cbcf60958d88fe0874a92b556 Mon Sep 17 00:00:00 2001 From: NotII <46204250+NotII@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:26:50 +0000 Subject: [PATCH] Update pricing-tiers.tsx --- components/forms/pricing-tiers.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/forms/pricing-tiers.tsx b/components/forms/pricing-tiers.tsx index eb01ce4..c408a13 100644 --- a/components/forms/pricing-tiers.tsx +++ b/components/forms/pricing-tiers.tsx @@ -21,12 +21,10 @@ export const PricingTiers = ({ handleAddTier, }: PricingTiersProps) => { const formatNumber = (num: number) => { - // For price per unit, show up to 6 decimal places if needed - return Number(num.toFixed(6)).toString(); + return Number(num.toFixed(2)).toString(); }; const formatTotal = (num: number) => { - // For total price, always show 2 decimal places return num.toFixed(2); };