I am trying to convert string input to an integer using the cint() function. I am running into a problem when I try to convert the string "0" to get integer 0. Any solutions for this?
I tried the Ctype("0",Integer) and it works with no errors - Thanks!
I am getting the same problem when I try to use the
IsNumeric("0") funtion. Well, I get False back, not a crash.
my program asks user for integers and I was using isnumeric to test and then cint() to change type. The only problem I ran into was when I input zero - "0". I have to use option strict turned on
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.