From e915f6290730db750a1e4f39121ee0d80333fb08 Mon Sep 17 00:00:00 2001 From: Alexandre Bourdin Date: Wed, 22 Feb 2023 13:15:21 +0100 Subject: [PATCH] Merge pull request #11932 from overleaf/em-fix-pending-subscription-price-display Fix pending subscription change price display GitOrigin-RevId: f9cf196bd3c43d4b85b78956ea36947fa7cef84b --- .../web/app/src/Features/Subscription/SubscriptionFormatters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/src/Features/Subscription/SubscriptionFormatters.js b/services/web/app/src/Features/Subscription/SubscriptionFormatters.js index 72f960f560..39d60f2eb0 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionFormatters.js +++ b/services/web/app/src/Features/Subscription/SubscriptionFormatters.js @@ -19,7 +19,7 @@ module.exports = { if (!currency) { currency = 'USD' } - let string = priceInCents + '' + let string = String(Math.round(priceInCents)) if (string.length === 2) { string = `0${string}` }