I want the below value on division but unable to get

while dividing the values from 150/1.5 I am getting 75
150 1.5 75

Instead when I am checking in normal Calculator the value is 100

Please help urgent

Can you share a screenshot of your workflow?

image

I am getting integer value in Obj Cry Value and some decimal values in Total quantity from excel

Your expressions seems fine, can you debug your flow to check the values once?

If you have ObjCryValue as type Int and TotalQuantity as Double then, (150/1.5) should return 100.

1 Like

Please change the variable type to Double and if you are storing the result please store it in the double.
If you are using any decimal number please use the variable type as a double

please use the immediate panel and type in

TotalQuantity
and
ObjCryValue

Can you share the screenshot with us, Thanks

Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum

1 Like

@mahadev_biradar ,

When tried to simulate the same :
image

We suspect that the value TotalQuantity is not 1.5

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.