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