- 4.66.2.23. -
Table of Contents
4. Standard Units
4.66. Strings - Large string manipulation unit
4.66.2. Strings Unit Procedures and Functions
4.66.2.23. IntToHex function
4.66.2.23. IntToHex function
Targets: MS-DOS, OS/2, Win32
Strings Unit
Returns the hex representation of an integer.
Declaration:
function IntToHex(Value: Longint; Digits: DWORD): String;
function IntToHex(Value: Int64; Digits: DWORD): String;
Remarks:
The IntToHex function converts a number into a string
containing the number's hexadecimal (base 16) representation.
Value is the number to convert. Digits indicates
the number of hexadecimal digits to return.
- 4.66.2.23. -