In this tutorial we will learn hexadecimal to decimal conversion for a floating point number i.e., a number with fractional part.

Before we dive into the main topic lets talk a little about Decimal and Hexadecimal Number System that we are going to work with in this tutorial.

A decimal number system consists of 10 digits: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. So, any number that we use in our daily life is actually in decimal number system.

In hexadecimal number system we use ten digits and six english alphabet letters. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F 10 is denoted as A 11 is denoted as B 12 is denoted as C 13 is denoted as D 14 is denoted as E 15 is denoted as F Hexadecimal implies base 16

How to convert a hexadecimal number with fractional part into decimal number?

To convert a hexadecimal number having integer and fractional part into decimal form we have to multiply the integer part ones place with 16^{0} tens place with 16^{1} hundreds place with 16^{2} ans so on... and the fractional part tenths place by 16^{-1} hundredths place by 16^{-2} and so on...

Convert hexadecimal number 0.01_{(base 16)} into decimal form

The following table shows the places, hexadecimal number and the multipliers for the corresponding places.

So, the required decimal number is 0.01_{(base 16)} = 0.00390625_{(base 10)} Alternatively, (0.01)_{16} = (0.00390625)_{10} Where, (base 10) means the number is in decimal number system and (base 16) means the number is in hexadecimal number system.

Convert hexadecimal number A.28F5C_{(base 16)} into decimal form

The following table shows the places, hexadecimal number and the multipliers for the corresponding places.

So, the required decimal number is A.28F5C_{(base 16)} = 10.16_{(base 10)} (approx. value) Alternatively, (A.28F5C)_{16} = (10.16)_{10} (approx. value) Where, (base 10) means the number is in decimal number system and (base 16) means the number is in hexadecimal number system.