Converts decimal numbers to hexadecimal