cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Working with Floats

If you are trying to use any mathmateical functions with floats, what is the best way to work with those numbers given the functions all seem to require integers?

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Working with Floats

Hi @WiggityZwiggity,

 

Would you please share more information about the functions?

In Microsoft Flow, we could take use Workflow Definition Language to work with the items, and there are Math functions defined under WDL, please check and see if those functions could be used in your scenario:

Workflow Definition Language schema for Azure Logic Apps

 

Also there are functions available to convert the data type in WDL:

int()

Float()

Would be able to convert the number into Integer or Float type.

 

Please post back if you need any further assistance on this.

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted

Re: Working with Floats

I guess what I mean is, if I have a float but I need an integer for other integer only functions (like adding time to a date) and I have a float (i.e. 10.345) and I need (10) how can I just get '10' vs '10.345' so an addhours function would work?

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (5,355)