Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

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?


  • 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