FIT   100
© Copyright University of Washington 1999-2000
On Variable Values
vA variable can be thought of as a “named container”
v
v
v
Variables name computer memory locations, so the value of a variable is the quantity stored in its memory
vVariables can take on different types of values
oWhole numbers or integers: 2, -9, 1048576
oCharacter sequences or strings: “2”, “&^%$#@”, “ ”
oFloating point numbers or doubles: 2.0, 3.14159, -999.99 (numbers that can have some digits after the decimal point)
vA variable’s values have a specific type
vVariables are declared and their type is specified
oDim averageOverClass As Double
averageOverClass
0