Int64 Data Type
Holds signed 64-bit (8-byte) integer values with a maximum of 19 decimal digits. That is 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
Int64and do not initialize it, its default value is zero (0). - Automatic conversions
Int64widens toInt128,Real32,Real64, orReal128without risk of overflow.- Type characters
- You can put the suffix
i64(orI64) on the end of an integer literal. But there are no type characters for names.
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
#formatis not given or is#Null, it tries to parsestras 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