HighDots Forums  

Re: Base Conversion Finally Came Up?

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: Base Conversion Finally Came Up? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dr John Stockton
 
Posts: n/a

Default Re: Base Conversion Finally Came Up? - 04-02-2004 , 10:40 AM






JRS: In article <opr5susxwe5vklcq (AT) news-text (DOT) blueyonder.co.uk>, seen in
news:comp.lang.javascript, Michael Winter <M.Winter (AT) blueyonder (DOT) co.invali
d> posted at Thu, 1 Apr 2004 22:43:06 :
Quote:
On 1 Apr 2004 12:36:14 -0800, Gord <nov (AT) eastontario (DOT) com> wrote:

[snip]

Anyone out there interested in converting that page to a form method
conversion display from base n to base10 to base m?

m ---> 10 ---> n
n ---> 10 ---> m

I'm fairly sure Dr Stockton has already done that.
Well, it's naive to assume that one must go via base ten; otherwise,
<URL:http://www.merlyn.demon.co.uk/js-maths.htm#Base> appears to handle
everything for which the numerical value is reasonable.

Converting non-integers, or where Number is inadequate, seems
unreasonable.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.