System.SysUtils.TSmallIntHelper.ToHexString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ToHexString: string; overload; inline;
function ToHexString(const MinDigits: Integer): string; overload; inline;

Properties

Type Visibility Source Unit Parent
function public System.SysUtils.pas System.SysUtils TSmallIntHelper

Description

Converts a SmallInt number to a string value.

This method is overloaded:

  • The first overloaded method ToHexString converts the SmallInt Value parameter to a hexadecimal string representation.
  • The second overloaded method ToHexString converts the SmallInt Value parameter to a hexadecimal string with a minimum number of hexadecimal digits represented by the MinDigits parameter.
  • The third overloaded method ToHexString converts this SmallInt number to a hexadecimal string representation.
  • The fourth overloaded method ToHexString converts this SmallInt 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 done, see the description of IntToHex.

See Also