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.
Instructions
- Default value
- When you declare a variable of type
Int64
and do not initialize it, its default value is zero (0). - Automatic conversions
Int64
widens toInt128
,Real32
,Real64
, orReal128
without risk of overflow.- Type characters
Int64
has no type characters.
Shared methods and properties
Int64.Default As Int64
- Returns the default value,
0
. Int64.Max As Int64
- Returns the maximum positive value.
Int64.Min As Int64
- Returns the minimum negative value.
Int64.Parse(str As String, Optional #format As Format) As Int64
- Tries to parse a string that shows as an integer.
- If
#format
is not given or is#Null
, it tries to parsestr
as a decimal (base-10) integer. Or you can make it clear withFormat.Base10
. Int64.Size As Int32
- Returns the number of available bytes. This is always 8.
Examples
Dim foo As Int64