Skip to main content
Question

Is it possible to format numbers in HTML email templates?

  • January 8, 2025
  • 1 reply
  • 42 views

I am building an HTML email template to display a variety of statistics. The statistics are in different formats such as percents and currency values. Is it possible to format a decimal as a percent in an HTML Template? 

Decimal Example:

Value: .9856

Display Value (in template): 98.56%

 

Currency Example: 

Value: 4578.19

Display Value (in template): $4,578.19

 

Based on your provided documentation, the only way to format numbers appears to be as a decimal or integer. Are there other formats that are acceptable? 

1 reply

Diana Tripac
Intercom Team
Forum|alt.badge.img+2
  • Senior Community Program Manager @Intercom
  • 151 replies
  • January 9, 2025

👀 Adding ​@Milan ​@Nathan Sudds  in case they have any ideas on that 💪


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings