Changes

Jump to: navigation, search
Method 2: Decimal to Binary
[[Image:decimal-to-bin.png|thumb|right|275px|Performing a '''decimal''' to '''binary''' conversion.]]
When converting '''decimal''' numbers to '''binary''' numbers, perform the following steps:<br><br>
# Write On the binary left side, write the decimal number (space between the digits)to be converted.<br># Starting from Far to the right-side, draw L's write the number 1 and while moving leftwards, double the number until that number is NOT greater than the decimal number to the left be converted (refer to the diagram on right).<br># Starting on If you are converting to 8-bit, 32-bit, etc., enter leading zeros if those doubled numbers are greater than the rightdecimal number.<br># Moving in a rightwards direction, if there is a doubled number less than the decimal number, multiply write a 1 and subtract the double number by 2 to 's value from the power of zerodecimal number.<br># Repeat moving to If the next doubled number is greater then the leftremainder, then write a zero; otherwise, if the number is less than but increase not zero, repeat the power by 1 each timeabove steps #.<br>
# Add up the calculations to obtain the decimal value equivalent.<br>
<br><br>
13,420
edits

Navigation menu