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-22 13:15:21 +01:00 committed by Copybot
parent f86eeac522
commit e915f62907

View file

@ -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}`
}