String = Hex$ ( Number [ , Digits ] )
Gets the hexadecimal representation of a number. If Digits_is specified, the representation is padded with unnecessary zeros so that _Digits digits are returned.
Example :
PRINT Hex$(1972) => 7B4 PRINT Hex$(1972, 8) => 000007B4