DIGITAL ELECTRONICS – LECTURE 6 – DECIMAL TO BINARY CONVERSION (FRACTIONAL NUMBERS) - BCA SEM1

Опубликовано: 30 Апрель 2026
на канале: BOSCOCAMPUSVISION
1,190
21

While converting a decimal fraction into its binary equivalent we have to go through 3steps:
A) Convert the integral part of decimal to binary equivalent
1.Divide the decimal number by 2 and store remainders in array.
2.Divide the quotient by 2.
3.Repeat step 2 until we get the quotient equal to zero.
4.Equivalent binary number would be reverse of all remainders of step 1.
B) Convert the fractional part of decimal to binary equivalent
1.Multiply the fractional decimal number by 2.
2.Integral part of resultant decimal number will be first digit of fraction binary number.
3.Repeat step 1 using only fractional part of decimal number and then step 2.
C) Combine A & B