Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Math Object pow Method

Returns the value of a base expression taken to a specified power.

Syntax: JScript Math Object pow Method

Math.pow(base, exponent)

Arguments: JScript Math Object pow Method

base

The base value of the expression.

exponent

The exponent value of the expression.

Remarks: JScript Math Object pow Method

In the following example, a numeric expression equal to baseexponent returns 1000.

Math.pow(10,3);

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.