IntToHex(value:integer;digits:integer):string
IntToHex(value:integer;digits:integer):string
IntToHex converts a number into a string containing the number's hexadecimal (base 16) representation. Value is the number to convert. Digits indicates the minimum number of hexadecimal digits to return.
a=IntToHex(12,4)