Variable Format String

I trying to get a variable to format correctly as a currency value (with leading $ and 2 decimal places etc.), but I'm having no luck and there's no documentation at all...

 I've tried setting the var as a string/Float and tried using {c}, just "c" without the curl braces, {0:c} - nothing works. Can you guys give me/us a few examples here in the forum and also update the docs please...

Thanks, TJ

Hi TJ

The format string is documented in the help under Variables\Variable Format Strings.

This should work for currency : $%.2n


Thanks for the reference, but the language is pretty think in that section. Can I suggest you include a few more examples of common format strings in that section, I think it would help greatly in understanding this great feature…

TJ