Binary tutorial for begginers. ---------------------------------- This tutorial is for people with a base knowledge that binary is ones and zeros. Easy, right? The 1 represents an "on" function, and the 0 represents an "off function. Decimal - Binary ----------------------- I'm going to use the easiest method I can think of in this tutorial. ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Example: 129 now, count from the right ot left multiplying by twos until you reach the lowest number closest to the decimal you. Example: 128 64 32 16 8 4 2 1 We start with the number 128. Subtract the number from the decimal you wish to convert. EX/ _ 129 128 = 1 Now take that number and see if you can subtract it from the other number in the row. 128? Yes, = 1 64? No 32? No 16? No 8? No 4? No 2? No 1? Yes All the numbers that were subtractable are ones, and the ones you were unable to subtract are zeros. EX/ 128 64 32 16 8 4 2 1 1 0 0 0 0 0 0 1 Answer: Decimal 129 in Binary is: 10000001 ******************************************************* Binary to decimal ----------------- No that we have the binary, how do we get it back to a decimal? Incredibly simple. Take the binary 10000001 no insert the numbers multiplied by two again, but not putting anything for the zeros. EX/ 1 0 0 0 0 0 0 1 128 x x x x x x 1 Now add the numbers together to get the decimal 128+1 = 129 Remember, the far left is always 128, and the far right is always 1 Let us take another random binary now, and try that again. 1 0 0 1 0 1 0 0 128 +16 + 4 = 148 *********************************************************************** Remember, every ASCII character has a number, and with that decimal in mind, you can speak letters etc in binary! Below is a chart: