Show: Delphi
C++
Display Preferences
System.SysUtils.StrToInt64
From XE2 API Documentation
Delphi
function StrToInt64(const S: string): Int64;
C++
extern PACKAGE __int64 __fastcall StrToInt64(const System::UnicodeString S)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Converts a string that represents an integer (decimal or hex notation) into a number.
StrToInt64 converts the string S, which represents an integer-type number in either decimal or hexadecimal notation, into a number. If S does not represent a valid number, StrToInt64 raises an EConvertError exception.