cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jonete
New Member

Format number in a message

Hello everybody:

 

I'm trying to compare 2 values in a message and i would like to show both with a number format.

 

I am using:

Jonete_0-1631605165013.png

 

and i get:

Jonete_1-1631605298302.png

Is there any way to do what i want?

 

Thanks in advance.

 

Jon Marquet

2 ACCEPTED SOLUTIONS

Accepted Solutions
MichaelAnnis
Super User
Super User

So, to understand, you want to get 9680,00 to 9680, correct?  We want to format %CurrentItem[Importe]%?

 

The command you are looking for (in English) is Truncate Number.  So, it would look like this before your message box:

 

Truncate Number %CurrentItem[Importe]% Round 0

 

The syntax for Truncate number can be found here:  https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/variables#truncatenu...

 

This should get you the whole number format. Be sure to replace the variable in your message box with your new truncated variable. Best of luck!

View solution in original post

sunilb
Microsoft
Microsoft

Hi Jon,

 

Assign %CurrentItem['Importe']% to the variable and try with that variable.

 

I hope above will help you.

View solution in original post

2 REPLIES 2
MichaelAnnis
Super User
Super User

So, to understand, you want to get 9680,00 to 9680, correct?  We want to format %CurrentItem[Importe]%?

 

The command you are looking for (in English) is Truncate Number.  So, it would look like this before your message box:

 

Truncate Number %CurrentItem[Importe]% Round 0

 

The syntax for Truncate number can be found here:  https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/variables#truncatenu...

 

This should get you the whole number format. Be sure to replace the variable in your message box with your new truncated variable. Best of luck!

sunilb
Microsoft
Microsoft

Hi Jon,

 

Assign %CurrentItem['Importe']% to the variable and try with that variable.

 

I hope above will help you.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,054)