JRS: In article <V9******************************@comcast.com>, dated
Mon, 25 Sep 2006 18:44:32 remote, seen in news:comp.lang.javascript,
Randy Webb <Hi************@aol.composted :
>
Numbers. Numbers can be any base you want in JS, as long as you know how
to deal with them.
Only 2..36 are handled natively. Such as Base-85, which is used for
encoding in PostScript, would need more coding. It'll be difficult to
do much in bases over 2^26, and impossible over 2^53.
<URL:http://www.merlyn.demon.co.uk/js-maths.htm#Basehas a converter
form for 2..36, and another for a base of one plus as many "digits" as
you care to provide (I think; demo is default 64.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/>? JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.