Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function ToInt64: Int64; overload; inline; | Converts the text to an Int64 as StrToInt64 does: ToInteger's rules over 64 bits. |
| 2 | class function ToInt64(const S: Substr.Substring): Int64; overload; static; inline; | |
| 3 | class function ToInt64(const S: string): Int64; overload; static; inline; |
Overload 1: function ToInt64: Int64; overload; inline;
Converts the text to an Int64 as StrToInt64 does: ToInteger's rules over 64 bits.
Returns: Int64 - The value.
Examples
A value past Integer's range.
uses Substr;
procedure Example;
begin
Assert(Substring('9000000000').ToInt64 = 9000000000);
end;
Overload 2: class function ToInt64(const S: Substr.Substring): Int64; overload; static; inline;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | S | Substr.Substring |
Returns: Int64
Overload 3: class function ToInt64(const S: string): Int64; overload; static; inline;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | S | string |
Returns: Int64