- Microsoft Power Automate Community
- Community News
- News & Announcements
- Get Help with Power Automate
- General Power Automate Discussion
- Connecting To Data
- Building Flows
- Using Flows
- Power Automate Desktop
- AI Builder
- Power Automate Mobile App
- Translation Quality Feedback
- Share, Chat, Discuss
- Community Chat & Announcements
- Power Automate Cookbook
- Off Topic Discussion
- Power Platform Integration - Better Together!
- Power Platform Integrations
- Power Platform and Dynamics 365 Integrations
- Watch & Share Videos
- Webinars and Video Gallery
- MBAS Gallery 2019
- MBAS Gallery 2020
- Give Feedback & Share Ideas
- Power Automate Ideas
- Report Issues
- I Found A Bug
- Find & Join Local User Groups
- Power Automate User Groups
- Read & Share Blogs
- Power Automate Community Blog
- Community Blog Topic Suggestions
- Community Support
- Community Accounts & Registration
- Using the Community
- Community Feedback

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results forย

- Microsoft Power Automate Community
- Forums
- Get Help with Power Automate
- Building Flows
- Re: Displaying a number as Currency or Decimal

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Displaying a number as Currency or Decimal

โ11-05-2018
09:53 AM

Hello Everyone,

I am in the process of developing a flow to be used exclusivly in the App, but I need to show a number in a currency or 2 decimal format. All of the solutions I see are for PowerApps using the Text expression. But that does not work in Flow.

How would I display 300 as $300.00?

Thanks

Mike

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ12-04-2018
01:20 AM

The following expressions almost does the job:

concat('$',div(variables('value'),100),'.',mod(variables('value'),100))

this will turn 12345 into $123.45

The only time this doesn't work is is the part after the . is less than 10.

12305 would turn into $123.5

Thereforee I had to go for the slightly more complicated:

concat('$',div(variables('value'),100),'.',if(less(mod(variables('value'),100),10),concat('0',mod(variables('value'),100)),mod(variables('value'),100)))

12305 will now turn into $123.05

27 REPLIES 27

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ11-05-2018
02:03 PM

Hi Mike,

This isn't really about flow or is it?

I cam understand that you want to display data in a certain way in powerapps,but not sure where you would want to display this in Flow.

Are you trying to sens out an email alert and need to display the sat in a certain way?

This isn't really about flow or is it?

I cam understand that you want to display data in a certain way in powerapps,but not sure where you would want to display this in Flow.

Are you trying to sens out an email alert and need to display the sat in a certain way?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ11-05-2018
02:10 PM

Thanks Pieter,

Yeah it is a flow question becuase it has to do with displaying information in the details of the approval I am trying to build. Now that I said that, it would have helped to include that in the original question

The idea is that people want to approve or reject an approval directly in the mobile application without having to go anywhere to get more information then come back to take action. Im this workflow it has to do with dollar amounts, I take the value from SharePoint (currency format) and add it to the details of the flow, but it show up with like 5 trailing 0's (10.00000).

I just can't seem to find an article that explains how to do this in Flow, and not in PowerApps which has the text function.

Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ11-05-2018
02:57 PM

I need to have a think on this. I could consider using the mod function to get the bit after the 1.

You probably also need the div function and mul function.

It doesn't look straightforward.

You probably also need the div function and mul function.

It doesn't look straightforward.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ11-29-2018
11:04 PM

I am looking for the same thing, I want to send information in an email and the field is currency type in SharePoint. And I got it working in the form on powerapps. But I can't seem to find a way to add the nessisary formatting for it in FLOW.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ12-04-2018
01:20 AM

The following expressions almost does the job:

concat('$',div(variables('value'),100),'.',mod(variables('value'),100))

this will turn 12345 into $123.45

The only time this doesn't work is is the part after the . is less than 10.

12305 would turn into $123.5

Thereforee I had to go for the slightly more complicated:

12305 will now turn into $123.05

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ04-05-2019
01:50 PM

This solution almost entirely solved my problem. I am having one issue. Instead of my currency value coming out properly, $60.00 looks like $0.6.60. Please see my screen shots below

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ04-08-2019
04:41 AM

concat('$',div(variables('vartotalcost'),100),'.',if(less(mod(variables('vartotalcost'),100),10),concat('0',mod(variables('vartotalcost'),100)),mod(variables('vartotalcost'),100)))

Here is the concat I used. I also tested the shorter concat that was suggested as "almost" working early in the thread. It too yeilded the same result.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ04-08-2019
05:00 AM

I think I've figured out your problem.

Your amount is stored as 12.34 where for this to work it needs to be stored 1234

You could simply multiple your variable by 100 to solve the problem.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ04-08-2019
05:05 AM

Is it possible for you to show what that that concat function would look like with your suggestion? This sort of formula is outside of my realm of understanding and I want to understand which part of the formula i am to add the multplication by 100.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ04-08-2019
05:09 AM

I wouldn't update the concat as that would make things more coomplicated than needed.

The easier way is to update the varibale ( or create a new variable) and set this to

mul(100, variables('yourvariablename'))

You could of course also use a Compose action and set itto the above.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ04-08-2019
07:02 AM

I've run multiple tests and keep getting fails. Any further suggestions? I've tried every configuration, but yet to find the correct encantation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ04-16-2019
12:34 PM

I found another solution to my business needs. If I save the data from the **SharePoint currency** column into a float variable it comes across fine. ๐

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ04-16-2019
08:00 PM

It leaves out the comma when you reach the thousands. Anyway to fix that?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ04-30-2019
01:47 PM

Can you elaborate on this with any screen shots? I too have a currency problem that i'm running through flow into a variable. When I run the flow as per your suggestion, the outcome of a sharepoint currency column through a currency column turns $50.00 to 50.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ06-07-2019
09:55 AM

Hey Mike,

I am in a similar situation and have been reformatting the data in a SharePoint list/calculated column with **Text(CurrencyField, "$#,###" ). **The calculated column exports a string output by default (you can change this) which you can pick up in your Flow and inject into the approval step.

Once the Flow is finished you can delete the SharePoint item if you want. It feels hacky, i know, but it works very well.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

โ06-10-2019
02:25 PM

There's actually a better calculated column option -

**DOLLAR([column],2) **

where 2 = number of decimal places you want. Leave the data type as text.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Top Solution Authors

User | Count |
---|---|

78 | |

55 | |

52 | |

43 | |

41 |

Top Kudoed Authors

User | Count |
---|---|

81 | |

79 | |

75 | |

67 | |

43 |