Post Reply 
number base conversion for hp17b/17bii
06-19-2014, 01:45 PM
Post: #4
RE: number base conversion for hp17b/17bii
(06-19-2014 09:06 AM)Thomas Klemm Wrote:  A little shorter:

BC:ANS=
N+
(FROM-TO)\(\times\)
\(\Sigma\)(I:0:LOG(N)\(\div\)LOG(TO):1:
  L(N:IDIV(N:TO))\(\times\)FROM^I
​)

Thomas, that is way cool! Thanks.

The method I chose was based on how I learned to manually convert numbers from one base to another back in computer programming school in 1968. That method is described at the bottom of this page. I just converted those manual steps to an equivalent solver equation.

I like your method also, it is simple and elegant.

Don
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: number base conversion for hp17b/17bii - Don Shepherd - 06-19-2014 01:45 PM



User(s) browsing this thread: 2 Guest(s)