Visual Studio Express 2012 for Web Tutorial 4 - Variables Data Types and Conversions



This tutorial takes the form from Tutorial 3 and performs calculations with a few variables. Several techniques are shown.

The list of data types can be found at msdn.microsoft.com/en-us/library/47zceaw7.aspx

Because the integers, double (floating point) and strings are not compatible, the data must be converted into the data type that the program is expecting.

CInt - Convert To Integer
CDbl- Convert To Double
CStr - Convert To String
[Variable Name].ToString - Convert To String

Code Download
VSE2012T4.zip




The current version of Visual Studio Community (Express) can be downloaded for free at Microsoft's Website