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: [mg47589] Re: Number to Binary
  • From: drbob at bigfoot.com (Bobby R. Treat)
  • Date: Fri, 16 Apr 2004 05:22:06 -0400 (EDT)
  • References: <c5leru$blo$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

BaseForm[expr, n] _displays_ x in base n but doesn't give you the
digits to manipulate. For that, you'd use RealDigits[x,n], which
returns the mantissa as a list of base n digits, along with a base n
exponent.

Bobby

"Oracle3001" <adam_hartshorne at hotmail.com> wrote in message news:<c5leru$blo$1 at smc.vnet.net>...
> Hi All,
> 
> Could anybody plz tell me how I can input a number and convert this to a
> binary representation using mathematica?
> 
> Adam


  • Prev by Date: Re: Contour lines with individual labels
  • Next by Date: Re: How to check if a file exists?
  • Previous by thread: Re: Number to Binary
  • Next by thread: What does +- mean?