Decimal to Hexadecimal: following the same procedure
Convert 26 decimal to hexadecimal: This method is also called Hex-dabble method.
Convert 0.3875 to hexadecimal
We can convert a fraction from a decimal to hexadecimal form by multiplying wit base and following the same procedure.
Fraction is 0.3875
0.3875 * 16 =6.2000 =6 + 0.2000 a-1=6
0.2000 * 16 =3.2000 =3 + 0.2000 a-2=3
0.2000 * 16 =3.2000 =3 + 0.2000 a-3=3
Similarly a-4=3, a-5=3, a-6=3 so on…….
Hence the hexadecimal equivalent is 0.63333…