Skip to main content
Answered

What's the best way to show currency values in a custom attribute?

  • September 21, 2021
  • 1 reply
  • 107 views

We have custom data attributes with Decimal format, to hold currency dollar values. When I add them to outgoing messages, they don't get currency formatted.

e.g. field value is 6252.0 - but it should display in the email as $6,252.00. How to do this?

Best answer by Roy

Hello @andy l11​ 👋

 

In this case, you should technically change the following data and before send it to Intercom. Javascript API allows you to send it in the correct way.

 

Now about currency, in your case, I created a new attribute called Currency. Then in e-mails display #Currency #Amount.

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • Answer
  • September 24, 2021

Hello @andy l11​ 👋

 

In this case, you should technically change the following data and before send it to Intercom. Javascript API allows you to send it in the correct way.

 

Now about currency, in your case, I created a new attribute called Currency. Then in e-mails display #Currency #Amount.


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