mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
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:
committed by
Copybot
parent
f86eeac522
commit
e915f62907
@@ -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}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user