MathGroup Archive 2001

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

Search the Archive

Re: how do i make a function to convert base 2 representation to base-10?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30834] Re: how do i make a function to convert base 2 representation to base-10?
  • From: "Oliver Friedrich" <oliver.friedrich at tz-mikroelektronik.de>
  • Date: Thu, 20 Sep 2001 03:51:27 -0400 (EDT)
  • References: <9nh2a1$iu$1@smc.vnet.net> <9o990m$cs4$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Type 2^^number, you'll get what you want, eg 2^^1001->9, I think you
mistyped your example, if you didn't I don't understand it

Best success

Oliver Friedrich
"Au Han Bin" <auhb3 at cz3.nus.edu.sg> schrieb im Newsbeitrag
news:9o990m$cs4$1 at smc.vnet.net...
> hello, I am a mathematica newbie. i'd like some advice on creating a
> function that converts base-2 to base 10
> eg. {1,0,1} -> 9
> thanks, regards, josh
>



  • Prev by Date: Re: Sum of Prime factors
  • Next by Date: Re: how do i make a function to convert base 2 representation to base-10?
  • Previous by thread: RE: how do i make a function to convert base 2 representation to base-10?
  • Next by thread: Re: how do i make a function to convert base 2 representation to base-10?