System.SysUtils.TCardinalHelper.ToHexString
Delphi
function ToHexString: string; overload; inline;
function ToHexString(const MinDigits: Integer): string; overload;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TCardinalHelper |
Description
Converts Cardinal to a hexadecimal string.
This method is overloaded:
- The first overloaded method ToHexString converts this Cardinal number to a hexadecimal string representation with 8 hexadecimal digits.
- The second overloaded method ToHexString converts this Cardinal number to a hexadecimal string with a minimum number of hexadecimal digits represented by the
MinDigits
parameter.
Note: For details on how the conversion is processed, see the description of IntToHex.