Re: Number to Binary

*To*: mathgroup at smc.vnet.net*Subject*: [mg47555] Re: Number to Binary*From*: bobhanlon at aol.com (Bob Hanlon)*Date*: Fri, 16 Apr 2004 05:20:20 -0400 (EDT)*References*: <c5leru$blo$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

BaseForm[n, 2] or Fold[10#1+#2&, 0, IntegerDigits[n, 2]] Bob Hanlon In article <c5leru$blo$1 at smc.vnet.net>, "Oracle3001" <adam_hartshorne at hotmail.com> wrote: << Could anybody plz tell me how I can input a number and convert this to a binary representation using mathematica?