I'm trying to convert a string to an Integer
Page 91 of the guide gives this function for object type String:
Public Function ToInteger(Hex As String) as Integer
But I can't get it to work ("Undefined Function"), and I don't know what Hex is supposed to be (some kind of formatting string I assume).
Im using
Integer.TryConvert(motionStopTime, stopInt)
Instead. Anyone know the syntax for converting a String to an Integer?
Thanks,