[web] show monthly rates on group plans (#23019)

GitOrigin-RevId: e500869be9def2c150b4773f2f18883021ab356b
This commit is contained in:
Kristina
2025-01-24 09:05:26 +00:00
committed by Copybot
parent 77dd468c20
commit 0bbe4b2e5a
4 changed files with 61 additions and 1 deletions
@@ -64,6 +64,11 @@ const currencies = [
'USD',
]
/**
* This is duplicated in:
* - services/web/app/src/Features/Subscription/SubscriptionHelper.js
* - services/web/modules/subscriptions/frontend/js/pages/plans-new-design/group-member-picker/group-plan-pricing.js
*/
function roundUpToNearest5Cents(number) {
return Math.ceil(number * 20) / 20
}