Convert Generic Value to Int32 with assign

Hi!

I’m trying to convert a variable type GenericValue to Int32.

Can I convert my variable using an assign activity or I need other activity? Which command I need to do the convert?

Thanks!!

Hi @Carmen_Tur

You need to use Function Convert.ToInt/CInt

Cint(YourVariable)

Regards

1 Like

Hi!

you can try this

VariableName.Convert.ToInt32

Regards,
NaNi

1 Like

Thanks! @pravin_calvin

1 Like

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