Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the value of a base expression taken to a specified power.
function pow(base : Number, exponent : Number) : Number
Arguments
base
Required. The base value of the expression.exponent
Required. The exponent value of the expression.
Remarks
The pow method returns a numeric expression equal to baseexponent.
Example
The following example illustrates the use of the pow method.
var x = Math.pow(10,3); // x is assigned the value 1000.