How to convert decimal number into hexadecimal number