Convert the following numbers to decimal. (i) $1001_{16}$ (ii) $70.7_8$ (iii) $A1.F_{16}$
Shoham Teberiwal, AIR 77, 2023
To convert into decimal
(i) $(1001)_{16} \longrightarrow (1\times16^3)+(0\times16^2)+(0\times16^1)+(1\times16^0)$
$= 16^3 + 1 = (4097)_{10}$
(ii) $(70.7)_8 = (7\times8^1)+(0\times8^0)+(7\times8^{-1})$
$= 56 + \frac{7}{8} = (56.875)_{10}$
(iii) $(A1.F_{16}) = ((\text{Value of A in decimal})\times16^1)+(1\times16^0) + (\text{value of F})\times16^{-1}$
$= (10\times16)+1+\frac{15}{16}$
$= 161 + \frac{15}{16} = (161.9375)_{10}$
Answers
(i) 4097
(ii) 56.875
(iii) 161.9375