JRS: In article <MP************************@nntp.lucent.com>, seen in
news:comp.lang.javascript, kaeli <in********************@NOSPAMatt.net>
posted at Wed, 17 Sep 2003 09:24:36 :-
Math.pow(x, n) Returns x to the power of n
var i = 3;
var y = Math.pow(2, i);
y will be 6.
8
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links;
<URL:http://www.merlyn.demon.co.uk/clpb-faq.txt> RAH Prins : c.l.p.b mFAQ;
<URL:ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip> Timo Salmi's Turbo Pascal FAQ.