Visual Basic .NET <-> Object Pascal | Explicit conversion to 64-bit integer

Visual Basic .NET

Clng

Description

 Clng (expr)
Used keywords: clng

Input


Output

Examples

Visual Basic .NET

Explicit conversion to 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
.
Object Pascal

Int64

Description

 Int64 (expr)
Used keywords: int64

Input


Output

Examples

Object Pascal

Explicit conversion to 64-bit integer the possible of use:
xmin := -9223372036854775808; ymax := 9223372036854775807;
x:= -82345;        // x = -82345
y:= -(1512345 div 70);// y = -21604
y := Int64((x * y));     // z = 1778981380

You can find it in the following collections: explicit type conversions
Explicit conversion to 64-bit integer in another programming language:
Differences to:
Languages: en hu cz sk