Variables
 

Variables


Values can be represented in many ways, such as integers, floating point values, strings, objects, etc.


Here's the most important list of variable types you'll run across in VB:



















 Integer


 1, 2, 3, ... with the largest value = 32767


 Long


 Like integers, but with the largest value about 2E9


 Single


 0.2, 5.7, 24.12 ... any number with a decimal


 Double


 Like Single, but with the largest value about 2E308


 Strings


 Not numbers at all, but letters or special characters

(c) Shilpa Sayura Foundation 2006-2017