From 37601dd51d3320a23bd5737358e5074af41aa055 Mon Sep 17 00:00:00 2001 From: aryabenade Date: Thu, 23 Apr 2026 19:31:26 +0530 Subject: [PATCH] round off the basePrice and strikedPrice --- src/pages/CheckoutPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/CheckoutPage.tsx b/src/pages/CheckoutPage.tsx index a9465fe..b6b8a79 100644 --- a/src/pages/CheckoutPage.tsx +++ b/src/pages/CheckoutPage.tsx @@ -150,9 +150,9 @@ function CheckoutConfigCard({ const cardMode = item?.cardType?.name === "selective_pass" ? "flexi" : "unlimited" const adultPrice = item?.adultPrice * noOfAdults const childPrice = item?.childPrice * noOfChildren - const basePrice = adultPrice + childPrice + const basePrice = Math.round(adultPrice + childPrice) const taxAmount = Math.round(basePrice * 0.1) - const strikedPrice = basePrice + 20 + const strikedPrice = Math.round(basePrice + 20) const [addCardToCart] = useAddCardToCartMutation()