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?
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?
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?
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
WarrenBelz
146,670
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,011
Most Valuable Professional