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

Fix pending subscription change price display

GitOrigin-RevId: f9cf196bd3c43d4b85b78956ea36947fa7cef84b
This commit is contained in:
Alexandre Bourdin
2023-02-23 09:04:57 +00:00
committed by Copybot
parent caa5393d0a
commit 125387a149
@@ -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}`
}