Skip to main content
Question

Removing currency symbol from localised price variable in paywall editor

  • August 16, 2025
  • 2 replies
  • 42 views

Forum|alt.badge.img

Hi everyone,

I’m using {{ product.price_per_month }} to display product prices in my app. Is there a way to format this so that it does not include the currency symbol? For example, if the value is $9.99, I’d like to display just 9.99 as I would like to apply different formatting to the currency symbol in comparison to the price.

Any guidance or recommended approaches would be greatly appreciated!

Thanks!

This post has been closed for comments

2 replies

Forum|alt.badge.img
  • Author
  • New Member
  • August 16, 2025

For anyone interested, a workaround I just discovered is to use a ZStack. Place the price variable inside the ZStack along with the currency symbol variable, but set the currency symbol’s color to match the background. The symbols will overlap, effectively displaying only the numerical price.


Forum|alt.badge.img+8
  • RevenueCat Staff
  • August 22, 2025

Hi, at this time we do not have a way to do this on our paywalls but I can pass this feedback along to the team.