Look up OPENFILE in the help file - this will enable you to read whatever you like from any file you wish (including ini files). Personally, I use this in preference to INIGET$ / INIPUT as it allows much more flexibility.
However, if you want to convert a string to a numerical value, simply MID$ the numerical portion, then it will do a straight convert - ie
will work perfectly
However, if you want to convert a string to a numerical value, simply MID$ the numerical portion, then it will do a straight convert - ie
Code (glbasic) Select
a$="23"
a=a$
PRINT a,0,0
will work perfectly