In The Last Session We Had Discussed... : Variables and Their Naming Conventions
In The Last Session We Had Discussed... : Variables and Their Naming Conventions
1
In the current session we shall discuss...
Data types in VB
2
Data types
3
• VB recognizes the following types of variables:
– Numeric
– String
– Varient
– Date
– Object
4
• The two major variable types are numeric and string.
• Numbers can be stored in many formats, depending on the
size of the number and its precision.
• That is why there are many types of numeric variables.
• The choice of data types for variables can make a difference in
the results of the calculations.
5
Numeric data types
6
Numerical data types and its range
7
Bytes data type
8
Review Questions
9
What Next
10