Currency formatting

17 views
Skip to first unread message

Darrel Tenter

unread,
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?

Example:
Enter 9500
Display $9,500

Thank you.

Jesse McCabe

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

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
Forward
0 new messages