Int64 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 Int64 and leave it uninitialized,, its value defaults to zero (0).
The Int64 data type widens to Int128, Real32, Real64, Real, or Real128 without any risk of overflow.
Type characters
Int64 has no type characters.

Shared methods and properties

Int64.Bits As UInt
Returns the number of available bits. This is always 64.
Int64.Max As Int64
Returns the maximum positive value.
Int64.Min As Int64
Returns the minimum negative value.


Dim foo As Int64

See also