Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

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?

Community Support
Community Support

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:



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


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



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.

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

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,615)