The
data type of variable and constant indicates what type of information will be
the stored in the allocated memory space: perhaps a name, a dollar amount, a
date or a total. If none of the data type is specified the default data type is
variant. Following are some data types and there use:
Integer:
Integer
data type can store any whole numbers with in the range -32,768 to 32,767.
String:
String
is also the most commonly used data type which can store Alphabetical data like
letters, digits, and other characters.
Variant:
Variant
data type is default data type which can store the any kind of data like
Integer, String, and Object etc.
Currency:
Currency
stores Decimal fractions, such as dollars and cents.
Date:
The
date is also a data type which stores eight-character date.
Double:
Double-precision
floating-point numbers with 14 digits of accuracy.
Long:
Larger whole number.