Divide Integers

How to divide two values in UI path.
I have taken a variable’s A & B (as Int datatype).
Im able to perform all the arithmetic operations like Add,Sub ,Mult.
But when i write A/B in the input box and assign it to “C” variable(Int datatype).Error is displayed.
Could anyone help me on it.

1 Like

Hi @SatyaReddy,

Welcome back! Can you please share a screenshot of your workflow?

Hi @SatyaReddy

Welcome back to uipath community
for this , the datatype should be type double

SO CHANGE THE DATATYPE OF “C” VARIABLE TO DOUBLE
search in browse type as System.Double

it will work for sure

Cheers @SatyaReddy

Hi ,
Thanks for the response,Im able to divide two number by converting the variables(A,B and C) to System.double

2 Likes