3.5.3+Decimal,+Binary,+Hexadecimal

=__**Numbers in Bases: Decimal, Binary and Hexadecimal**__=

**Decimal**

 * Decimal is the number system we use every day
 * It has 10 different symbols (0, 1, 2, 3, 4, 5, 6 ,7 ,8 ,9) that all represent values one larger than the previous
 * Each position to the left of a digit increases by a power of 10. Each position to the right of a digit decreases by a power of 10.
 * Decimal numbers increase to the power of 10 (media type="custom" key="8701826")
 * So 320 is what it is as the 3 stands for the hundreds, the 2 stands for the tens and the 0 stands for the ones.

**Binary**

 * Binary is the number system used by electronics since it is the simplest form of numerical data representation (only 0 & 1)
 * Binary works in base two and therefor increases to the power of two ( 2, 4, 8, 16 etc.)
 * In Binary 0010110 = 22 in decimal
 * For more detailed information go to 3.2.2 Bits n Bytes and or 3.5.1 Binary Data Representation
 * Each position to the left of a digit increases by a power of 2. Each position to the right of a digit decreases by a power of 2.

**Hexadecimal**

 * Hexadecimal works much like Decimal, only that here are 16 different values for every integer
 * The values are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. (0 - 9 and A - F)
 * Hexadecimal works to the power of 16 (media type="custom" key="8701864") so there are very many different value for fewer integers
 * In Hexadecimal F8 = 248 in decimal ((16*15)+8)
 * Each position to the left of a digit increases by a power of 16. Each position to the right of a digit decreases by a power of 16.

**All Possible Digits**

 * Name || Base || Digits ||
 * Binary || 2 || 0, 1 ||
 * Decimal || 10 || 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ||
 * Hexadecimal ||= 16 || 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F ||

Last modified by: Daniel Gillo Last modified: 17th March 2011

Sources:
 * Jones, Richard. __Computer Science Java Enabled__. Victoria: IBID Press, 2004.