Type casting is possible in uipath

studio

#1

Hi i wrote a small windows based program but i am getting the type casting error
PFA and clarify
its my first script in RPA


#2

Hi @chintu

You can use number1.tostring to display the same. Yes Uipath will support type casting as like in C#.

Thanks
Girish


#3

Hi @Girish
actually i am fetching the input from excel sheet so number1 is given as integer

Thanks
chintu


#4

Hi @Girish
thanks for the solution


#5

Hi @chintu,

You should give double type and then convert that to string if you want to display using type cast.
Attaching the workflow for more clarifications.
Main.xaml (9.2 KB)

Thanks
Girish


#6

thank you @Girish