Visual Basic - 64-bit integer: long, Int64

64-bit signed integer type is used to store negativ or pozitiv whole number. 64-bit integer and his value range: from -9223372036854775808 to 9223372036854775807.

long

Description

 long
Used keywords: long

Examples

Visual Basic .NET

64-bit integer the possible of use:
xmin = -9223372036854775808
 ymax = 9223372036854775807
Dim x As long= -82345        ' x = -82345
Dim y As long= -(1512345 \ 70)' y = -21604
y = Clng((x * y))     ' z = 1778981380

Int64

Description

 Int64
Used keywords: int64

Examples

Visual Basic .NET

64-bit integer the possible of use:
xmin = -9223372036854775808
 ymax = 9223372036854775807
Dim x As Int64= -82345        ' x = -82345
Dim y As Int64= -(1512345 \ 70)' y = -21604
y = Clng((x * y))     ' z = 1778981380

You can find it in the following collections: signed integers | integers | numbers | data types
64-bit integer in another programming language:
Differences to:
Languages: en hu cz sk