System.SysUtils.TSmallIntHelper.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 | TSmallIntHelper |
Description
Convertit un nombre SmallInt 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 SmallInt en représentation chaîne hexadécimale. - La seconde méthode ToHexString surchargée convertit le paramètre
Value
de type SmallInt 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 SmallInt en représentation chaîne hexadécimale.
- La quatrième méthode ToHexString surchargée convertit ce nombre SmallInt 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.