I'm trying to have a bizform notification email show a value as currency.
I tried something like this
{%value.ToString("C2")%}
but it is just showing the number
Hello, Lawrence. In macros, you can enter static strings as a macro, and they will resolve as that exact text. For example: {%"Hello, world."%}
{%"Hello, world."%}
So for your formatting, you should be able to do something like this: {%"$" + value.ToString("C2")%}
{%"$" + value.ToString("C2")%}
Sorry, by "just showing the number" i meant it wasn't adding the commas either. the .ToString("C2") didn't appear to do anything.
Lawrence, check out the docs. I think your syntax is off just a bit.
Maybe something like
.ToString("", "en-us", "C2")
I'd that doesn't work you may need to use the ToDouble macro.
Please, sign in to be able to submit a new answer.