Convert a string to an Integer

bonj98
02-17-2004, 06:24 AM
Hello,
How can I convert a string to an integer :confused: ?

Best Regards

bonj98

Peperl
02-17-2004, 06:25 AM
Use CINT(mystring)

00100b
02-17-2004, 06:26 AM
You can use the CInt() function to explicitly convert a numeric-string to an Integer or you can use the Val() function to convert a numeric-string to a numeric-value.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum