cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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

1 REPLY 1
Highlighted
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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Users online (8,046)