Skip to content

TNativeIntHelper.ToHexString

Convert to a hexadecimal string representation.

Declaration

Source position: syshelph.inc line 1462

public 
function ToHexString(const AMinDigits: Integer) : string;  overload; overload;

function ToHexString : string;  overload; overload;

Description

ToHexString converts the NativeInt value to a hexadecimal string representation. The AMinDigits argument specifies the minimal number of characters in the resulting string. The string will be left-padded with zeroes if the representation contains less than AMinDigits characters.

See also

Name Description
TNativeIntHelper.ToBoolean Convert to a boolean value.
TNativeIntHelper.ToSingle Convert to an single-sized floating point value.
TNativeIntHelper.ToDouble Convert to a double-sized floating point value.
TNativeIntHelper.ToString Convert the value to string.
TNativeIntHelper.ToExtended Convert to an extended-sized floating point value.