Skip to main content
Nintex Community Menu Bar
Solved

Format number variable as currency in Nintex Workfow for Office 365

  • Jan 30, 2017 6:25 PM UTC
  • 5 replies
  • 448 views
  • Translate All

bamaeric
Nintex Partner
Forum|alt.badge.img+15

I'm using Nintex Workflow for Office 365.  I'm trying to figure out how to display a number that is stored in a number type workflow variable as formatted currency in an email.

 

So I'd like the number 12345 that's in a number type workflow variable to display as $12,345.00 in the email.

Best answer by TomaszPoszytek

First, be sure your variable is a "Number" type.

Then, when composing "Body" of your e-mail click the "Advanced Lookup" link, then choose your variable, and after it is chosen click the little "fx" icon next to its name. On the popup pane choose "Formatted Currency".

It should format the number according to the regional settings of your tenant (I hope so...), but I think the "$" character you must add manually.

View original

5 replies

TomaszPoszytek
Forum|alt.badge.img+17

First, be sure your variable is a "Number" type.

Then, when composing "Body" of your e-mail click the "Advanced Lookup" link, then choose your variable, and after it is chosen click the little "fx" icon next to its name. On the popup pane choose "Formatted Currency".

It should format the number according to the regional settings of your tenant (I hope so...), but I think the "$" character you must add manually.

Translate

bamaeric
Nintex Partner
Forum|alt.badge.img+15
  • Author
  • Nintex Partner
  • Jan 31, 2017 11:44 PM UTC

Thanks Tomasz.  That's definitely helpful.

What I failed to mention is that I'm trying to build a HTML string in my workflow that displays the formatted currency column inside of a column in a table row.  That string will then appear in the email.  So something like:

<tr><td>Total Cost</td><td>{Variable:numTotalCost}</td></tr> 

Translate

TomaszPoszytek
Forum|alt.badge.img+17

But even though you should be able to insert variable using advanced lookup option, where you can choose format of the inserted value. Have you tried that? 

Translate

TomaszPoszytek
Forum|alt.badge.img+17

‌ does my answer helps?

Translate

bamaeric
Nintex Partner
Forum|alt.badge.img+15
  • Author
  • Nintex Partner
  • Feb 15, 2017 8:03 PM UTC

I tried this and it worked.  Thanks Tomasz!

Translate