Long Data Type

Holds signed 64-bit (8-byte) integer values in the range −9,223,372,036,854,775,808 – +9,223,372,036,854,775,807.


Default value
When you declare a variable of type Long and leave it uninitialized,, its value defaults to zero (0).
The Long data type widens to Huge, Single, Double, Real, or Quad without any risk of overflow.
Type characters
Long has no type character.


Dim foo As Long

See also