I need to display a currency database value in an email snippet. I've inserted this value as a token. However, when I send my test emails, trailing zeroes are eliminated.
I understand there are velocity scripting solutions to format this number. However, I don't think you can use velocity script tokens in a snippet? Is there a way to have the token just be displayed as it appears in the database?
I'm thinking I may need to re-create the entire snippet logic in a velocity script?
Solved! Go to Solution.
Thanks for your response - I ended up just making that field a string. While it's not great if I ever need to run operational logic against the value, this program didn't require it.
Hi Greg - we use program tokens to display the current year in our email footer snippet:
...even though the email isn't physically located in a program (but the "send" smart campaign is).
Nice one. Therefore the idea above is useless, then. I was trusting it. The Buffet Formula : going to bet smarter than you woke up.
If a program token works in a snippet, then a velocity one should as well.