Int128 Data Type

Holds signed 128-bit (16-byte) integer values with a maximum of 39 decimal digits. That is the range −170,141,183,460,469,231,731,687,303,715,884,105,728 – +170,141,183,460,469,231,731,687,303,715,884,105,727.

Instructions

Default value
When you declare a variable of type Int128 and do not initialize it, its default value is zero (0).
Automatic conversions
Int128 widens to Real32, Real64, or Real128 without risk of overflow.
Type characters
You can put the suffix i128 (or I128) on the end of an integer literal. But there are no type characters for names.

Shared methods and properties

Int128.Default As Int128
Returns the default value, 0.
Int128.Max As Int128
Returns the maximum positive value.
Int128.Min As Int128
Returns the minimum negative value.
Int128.Parse(str As String, Optional #format As Format) As Int128
Tries to parse a string that shows as an integer.
If #format is not given or is #Null, it tries to parse str as a decimal (base-10) integer. Or you can make it clear with Format.Base10.
Int128.Size As Int32
Returns the number of available bytes. This is always 16.

Examples

Dim foo As Int128

See also