cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mtagliaferri
Resolver I
Resolver I

Numeric output with decimal numbers

The flow created return a long decimal number from a calcultated value from a Get Items

Screenshot 2021-10-27 at 21.45.15.png

I dont need the decimal numbers and trying to use the funcion Int, I dont undertstand why when using the Dynamic Content all the fields appear form the Get Items,

Screenshot 2021-10-27 at 21.32.41.png

 

however when I try to use the Int expression to convert the number to not show all the decimal numbers I do not have the option to pick the TotDays

Screenshot 2021-10-27 at 21.42.11.png

 

Is his the correct way to convert the number to no decimals?

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Try using the below expression

 

int(item()?['TotDays'])



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

2 REPLIES 2
abm
Super User
Super User

Try using the below expression

 

int(item()?['TotDays'])



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

@abm Thanks for the help, that worked.

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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 (1,670)