
 Binary, Octal, Hexadecimal Systems, Base Convertion 
  It was easier and more natural to write a generic base converter than doing anything special for the binary system. 
  Please note that the number of digits in any base (radix) N is exactly the same number N. For example, in the binary (N = 2) system there are two digits: 0 and 1; in the decimal (N = 10) there are ten of them: 0,1,2,3,4,5,6,7,8,9. 
  Representation of a number in a system with base (radix) N may only consist of digits that are less than N. (The converter works this way: first type a number in the base you wish to convert from. 
 www.cuttheknot.org /binary.shtml (604 words) 
