Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
VB Programming

Convert a String to a Number

 

Top Ten Programs

Convert a String to a Number

1. [ VB ] String to int


Big

The value "1234" is a string, you need to treat it as a number - to add 1, giving 1235.

The language will automatically convert the string to an integer as required.