Can anyone create a similar formula in UiPath? As an example, I have three variables as follows.
Datatype of all variables is : String
numb1 = 50
numb2 = 89
numb3 = 29
percentage = 800
Formula = ((50+89+29)*(50-89-29))/800
expected output: -14.28
Hi @Random_Bot ,
Try below flow,
(((CInt(numb1) + CInt(numb2) + CInt(numb3)) * (CInt(numb1) - CInt(numb2) - CInt(numb3))) / CInt(percentage)).ToString
Regards,
Vinit Mhatre
1 Like
rlgandu
(Rajyalakshmi Gandu)
3
@Random_Bot
Assign: result = ((Convert.ToDouble(numb1) + Convert.ToDouble(numb2) + Convert.ToDouble(numb3)) * (Convert.ToDouble(numb1) - Convert.ToDouble(numb2) - Convert.ToDouble(numb3))) / Convert.ToDouble(percentage)
I hope this works for you 
1 Like
lrtetala
(Lakshman Reddy)
4
Hi @Random_Bot
((Num1+Num2+Num3)*(Num1-Num2-Num3))/Percentage
Regards,
1 Like
Thanks Everyone for your help 
system
(system)
Closed
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.