Currency formatting

Skip to first unread message

Darrel Tenter

Apr 22, 2022, 2:23:55 PMApr 22
to Doc Variables -- Support and Requests
Is there a way to format a variable so it converts a number to a currency in the doc?

Enter 9500
Display $9,500

Thank you.

Jesse McCabe

May 11, 2022, 4:31:38 PMMay 11
to Doc Variables -- Support and Requests

Sorry for the long delay, I missed your message.

There is a way to do this, but it's not the cleanest, for now.  Here is the way you would do it:

${A Number::hidden}

#{{A Number}::format::currency}

Currently there is formatting on functions which will process the output and add commas.  To do this, you need to have a hidden field that sets the value first, and then a function that will take that number and format it.  Like I said, it's not ideal. 

Reply all
Reply to author
0 new messages