Type casting is possible in uipath

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

Hi @chintu

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

Thanks
Girish

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

Thanks
chintu

Hi @Girish
thanks for the solution

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

thank you @Girish