MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Number to Binary


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?


  • Prev by Date: RE: Re: Adding hyperlinks to help browser files in function::usage
  • Next by Date: Re: Number to Binary
  • Previous by thread: Re: Number to Binary
  • Next by thread: Re: Number to Binary