To convert decimal to hexadecimal
you have to divide by 16(so for 247 its f7) .
To convert the decimal part multiply the decimal part by 16 and discard the decimal part.
example:0.37 x 16 = 5.92 -> 5
.92 x 16 = 14.72 -> e (for 14)
so 5e.( continuing in a similar way you can get the answer for as many points as you want.)