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.
PRINT Hex$(1972)7B4
PRINT Hex$(1972, 8)000007B4