System.SysUtils.StrToUInt64Def

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function StrToUInt64Def(const S: string; const Default: UInt64): UInt64;

C++

extern DELPHI_PACKAGE unsigned __int64 __fastcall StrToUInt64Def(const System::UnicodeString S, const unsigned __int64 Default)/* 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 (notation décimale ou hexadécimale).

StrToUInt64Def convertit en nombre la chaîne S, qui représente un nombre de type entier en notation décimale ou hexadécimale. La valeur de sortie est un entier non signé sur 64 bits. Si S ne représente pas un nombre valide, StrToUInt64Def renvoie le nombre transmis dans Default.

StrToUInt64Def prend en charge les chaînes dans les notations hexadécimales suivantes :

  • Delphi : 0$1234 et 0x1234.
  • C++ : 0x1234.

Voir aussi