Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Show correct number of decimal places in subscription price

Luke Vella6cb0813378fd
diff --git a/apps/web/src/app/[locale]/(space)/settings/billing/components/subscription-price.tsx b/apps/web/src/app/[locale]/(space)/settings/billing/components/subscription-price.tsx
index bae7cb74b..ed456ad16 100644
--- a/apps/web/src/app/[locale]/(space)/settings/billing/components/subscription-price.tsx
+++ b/apps/web/src/app/[locale]/(space)/settings/billing/components/subscription-price.tsx
@@ -18,8 +18,7 @@ export function SubscriptionPrice({
const formattedAmount = new Intl.NumberFormat("en", {
style: "currency",
currency: currency,
- minimumFractionDigits: 0,
- maximumFractionDigits: 0,
+ minimumFractionDigits: 2,
}).format(amount / 100); // Divide by 100 since amount is in cents
return (