Previous PageNext Page

7.20.19 pow Method

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

Syntax

Math.pow(base, exponent)

Arguments

base
The base value of the expression.
exponent
The exponent value of the expression.

Remarks

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

Math.pow(10,3);


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page