Int64.Parse

Syntax

Parse(Value: String): Int64;

Parameters

Value. The string value that must be converted to the Int64 type.

Description

The Parse method converts a string value to the Int64 type without string correctness validation.

Comments

This method does not take into account specified regional parameters. The symbol dividing integral and fractional parts of a number is not used in the value passed by the Value parameter.

If conversion fails, an exception is thrown.

Example

Sub SampleInt64;
Var
    i: Int64;
Begin
    i := Int64.Parse(
"1234567890");
End Sub SampleInt64;

After executing the example the "i" variable contains the value obtained by conversion from a string.

See also:

The Int64 Class