How to convert a GenericValue to Double type


#1

I am getting a value to GenericValue va riableand later, I have to convert into Double. How it can be done. For changing to Int32 I used: (CInt(maxValueObject.ToString))


#2

Hi @ajith.jose,

You can parse the generic variable into its respected data type. For double use double_variable = Double.Parse(generic_variable)

Thanks & Regards,
Ranjith.


#3

Thank You @ranjith