-
Convert Object to String
myString = myObject.ToString()
-
Convert String to Integer
myInteger = Int32.Parse(myString)
-
Convert String to Integer and Returns Boolean
myBoolean = Int32.TryParse(myString, myInteger)
-
Converts Various Types to Integer
myInteger = CInt(myObject)
-
Cut off Fractional Values and Convert Double to Integer
myInteger = CInt(Math.Truncate(myDouble))