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.