System.SysUtils.TIntegerHelper.ToHexString
Delphi
function ToHexString: string; overload; inline;
function ToHexString(const MinDigits: Word): string; overload; inline;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TIntegerHelper |
Description
Convertit un nombre Integer en valeur chaîne.
Cette méthode est surchargée :
- La première méthode ToHexString surchargée convertit le paramètre
Value
de type Integer en représentation chaîne hexadécimale. - La seconde méthode ToHexString surchargée convertit le paramètre
Value
de type Integer en chaîne hexadécimale avec un nombre minimal de chiffres hexadécimaux représentés par le paramètreMinDigits
. - La troisième méthode ToHexString surchargée convertit ce nombre Integer en représentation chaîne hexadécimale.
- La quatrième méthode ToHexString surchargée convertit ce nombre Integer en chaîne hexadécimale avec un nombre minimal de chiffres hexadécimaux représentés par le paramètre
MinDigits
.
Remarque : Pour des détails sur la manière d'effectuer la conversion, consultez la description de IntToHex.