I understand that if we desire to transform from base 16 to basic 10 we execute as adheres to (for example):

Given : $15C$ in basic $16$

Conversion to base 10: $12 imes 16^0 + 5 imes 16^1 + 1 imes 16^2 = 348$ in base $10$

But ns am unable to transform $15C.38$(base $16$) to base $10$.

You are watching: Base 10 to base 16 formula

Can someone display how ?


*

After the point, it goes like $16^-1$, $16^-2$ etc.

Therefore, $(15C.38)_16$ deserve to be converted by doing the following:

$1 imes 16^2 + 5 imes 16^1 + 12 imes 16^0 + 3 imes 16^-1 + 8 imes 16^-2$.

Another method is, writing every digit together 4-bit binary string and also than convert those to decimal. I.e.

$(0001$ $0101$ $1100$ . $0011$ $1000)_2 = (?)_10$


*

After the "radix" allude (the dot), we can just divide each creature in place $i$ counting native the left by $16^i$. Therefore $0.36_16 = 3/16+6/16^2$. This generalizes to all bases.


*

We have $15C_16=348_10$.

The fractional component is $0.38_16$ which is $(3 imes 16^-1)+(8 imes 16^-2)=0.21875$.

So $15C.38_16=348.21875_10$.


*

Thanks because that contributing response to snucongo.org Stack Exchange!

Please be sure to answer the question. Administer details and share her research!

But avoid

Asking for help, clarification, or responding to various other answers.Making statements based upon opinion; earlier them up with recommendations or an individual experience.

Use snucongo.orgJax to format equations. snucongo.orgJax reference.

See more: What Does Gprs On Iphone Mean When My Phone Says T, Disabling Gprs On An Iphone And Leaving The Wi

To discover more, check out our advice on writing great answers.


post Your prize Discard

By click “Post your Answer”, you agree to our terms of service, privacy policy and cookie policy


Not the price you're spring for? Browse other questions tagged computer-science binary or asking your very own question.


*

site design / logo design © 2021 ridge Exchange Inc; user contributions licensed under cc by-sa. Rev2021.11.4.40656


her privacy

By click “Accept all cookies”, you agree stack Exchange have the right to store cookie on your an equipment and disclose details in accordance with our Cookie Policy.