System.SysUtils.TShortIntHelper.ToHexString
Delphi
function ToHexString: string; overload; inline;
function ToHexString(const MinDigits: Integer): string; overload; inline;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | System.SysUtils.pas | System.SysUtils | TShortIntHelper |
Description
Convertit un nombre ShortInt en valeur chaîne.
Cette méthode est surchargée :
- La première méthode ToHexString surchargée convertit le paramètre
Valuede type ShortInt en représentation chaîne hexadécimale. - La seconde méthode ToHexString surchargée convertit le paramètre
Valuede type ShortInt 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 ShortInt en représentation chaîne hexadécimale.
- La quatrième méthode ToHexString surchargée convertit ce nombre ShortInt 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.