Computer Fundamental
Computer Tutorial

Converting Decimal Fraction to Binary, Octal, Hexadecimal



Converting Decimal Fraction to Binary, Octal, Hexadecimal

A fractional number is a number less than 1. It may be .5, .00453, .564, etc. We use the multiplication operation to convert decimal fraction to any other base.
To convert a decimal fraction to—
• binary - multiply by 2
• octal - multiply by 8
• hexadecimal - multiply by 16

Steps for conversion of a decimal fraction to any other base are—

1. Multiply the fractional number with the to Base, to get a resulting number.
2. The resulting number has two parts, non-fractional part and fractional part.
3. Record the non-fractional part of the resulting number.
4. Repeat the above steps at least four times.
5. Write the digits in the non-fractional part starting from upwards to downwards.

Convert 0.2345 from Base 10 to Base 2

Convering decimal fraction to Binary

The binary equivalent of (0.2345)10 is (0.001111)2

Convert 0.865 from Base 10 to Base 2,8 and 16

Decimal fraction to Binary Conversion