Hex
Declaration: |
Hex(x, dp: integer): string; |
Converts the integer number x to an ASCII string which is the hexadecimal representation of that number. The number is written with a variable number of places, which can be defined by the parameter dp (1..8). Leading zeroes are not suppressed.
|
Hint: |
If the value of the parameter dp is less than one or greater than eight the value is automatically restricted to these boundaries (whichever is closer). If dp does not suffice to display the decimal representation, the resulting string is truncated. |
|