[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'sysutils' (#rtl)

# TNativeUIntHelper.ToHexString

Convert to a hexadecimal string representation

## Declaration

Source position: syshelph.inc line 624

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

## Description

ToHexString converts the NativeUInt 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

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

Documentation generated on: May 14 2021