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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Users online (90,259)