cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

div function not returning float number

I have an Initialize variable action that initialize a float with value: div(1,3)

It always returns 0 instead of 0.3333. Is this a bug ? How do I get it to return number with 2 demical ?

Here's the screenshots:

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

I finally found that i have to put the 2 parameters inside a float for it to return a float number correctly: div(float('1'),float('3'))

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I finally found that i have to put the 2 parameters inside a float for it to return a float number correctly: div(float('1'),float('3'))

View solution in original post

tritran
Frequent Visitor

Thank you!

This one solved my issue easily!

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (61,331)