How to convert a GenericValue to Double type


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))


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,


Thank You @ranjith