Convert from decimal to hexadecimal