you know how you make a value into a string so it can be put into text formatt, right? ( str(whatever) ). well is there a way to make it go backwards? I want to give the computer a number typed in by the user, but I don't know how.
Use of the Val function should be discouraged as far as I am concerned: it doesn't recognize International number formats.
The CFunctions (CInt, Clng, CDbl, ...) use the locale settings to do the conversion job, Val does not have this capability and therefore may not be able to recognize number formats that are used outside the US. _________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
Good point, rvBasic. I didn't know that, and since I've run into problems with international formats before, it's nice to know in advance for once.
"Much that I bound, I could not free. Much that I freed returned to me."
(Lee Wilson Dodd)
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.