MathGroup Archive 1995

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

Search the Archive

Re: Bin <-> Decimal conversion

	> I am still looking for an efficient way to perform ToBin.

You might try

In[1]:= IntegerDigits[54, 2]

Out[1]= {1, 1, 0, 1, 1, 0}

Jerry B. Keiper
keiper at
Wolfram Research, Inc.

  • Prev by Date: RE Bin <-> Decimal conversion
  • Next by Date: Re: Problem with Contexts
  • Previous by thread: Bin <-> Decimal conversion
  • Next by thread: mma2html program