Changes

Jump to: navigation, search
Method 4: Hexadecimal to Binary / Binary to Hexadecimal
==== Method 4: Hexadecimal to Binary / Binary to Hexadecimal ====
x[[Image:hex-to-bin.png|thumb|right|275px|Performing an '''hexadecimal to binary''' / '''binary to hexadecimal''' conversion.]]When converting '''decimal''' numbers to '''binary''' numbers, perform the following steps:<br><br># On the left side, write the '''decimal number''' to be converted.# Far to the right, write the '''number 1''' and while moving '''leftwards''', '''double the number''' until that number is NOT greater than the decimal number to be converted (refer to the diagram).<br># If you are converting to 8-bit, 32-bit, etc., enter '''leading zeros''' if those doubled numbers are '''greater than''' the decimal number.<br># Moving in a '''rightwards''' direction, if the doubled number '''less''' than the decimal number, write a '''1''' and subtract the double number's value from the decimal number.<br># If the next doubled number is '''greater''' then the remainder, then write a '''zero'''; otherwise, if the number is less than but not zero, repeat the above steps #4 and #5 until you have obtained your binary number.<br>
<br><br>
FYI: (Hexadecimal to Octal / Octal to Hexadecimal) FYI
<br><br>
===File Permissions===
13,420
edits

Navigation menu