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

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
Community Support Team
Community Support Team

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.

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

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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,985)