rboeger93 Posted November 14, 2008 Author Share Posted November 14, 2008 yeah, I want to know if there is a way to turn a string variable into a numeric variable. ex: lets say variable "string" = "12", "12" is a string variable, is it possible to turn that "12" into 12? or would I have to manually code it like```if string = "12" then numeric = 12end if```ty for whoever can help me or try to help me :) Link to comment Share on other sites More sharing options...
Godlord Posted November 14, 2008 Share Posted November 14, 2008 Via type conversion…> Dim iNumber> iNumber = CLng("300"); ' Convert to long.> iNumber = CInt("300"); ' Convert to integer.> iNumber = Int("300"); 'To integer.Regards, The Nameless One. Link to comment Share on other sites More sharing options...
rboeger93 Posted November 15, 2008 Author Share Posted November 15, 2008 ty Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now