ASCII to Integer Help
pathikgohil85
Posts: 21
Can some one help me to a find resource for converting an ASCII string to an integer using PBASIC?
Comments
answer = 0
for i = 0 to 4
answer = answer * 10 + (X(i) - "0")
next
Obviously, if the format of the number is more complex or if you need error checking, this would have to be more complex.