Afficher : Delphi
C++
Préférences d'affichage
System.SysUtils.StrToInt64
De XE2 API Documentation
Delphi
function StrToInt64(const S: string): Int64;
C++
extern PACKAGE __int64 __fastcall StrToInt64(const System::UnicodeString S)/* overload */;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Convertit en nombre une chaîne qui représente un entier (décimal ou hexadécimal).
StrToInt64 convertit la chaîne AnsiStringS, qui représente un nombre entier en notation décimale ou hexadécimale. Si S ne représente pas un nombre valide, StrToInt64 déclenche une exception EConvertError.