Kaynağa Gözat

Merge pull request #11932 from overleaf/em-fix-pending-subscription-price-display

Fix pending subscription change price display

GitOrigin-RevId: f9cf196bd3c43d4b85b78956ea36947fa7cef84b
Alexandre Bourdin 3 yıl önce
ebeveyn
işleme
e915f62907

+ 1 - 1
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}`
     }