Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

pow Method 

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


function pow(base : Number, exponent : Number) : Number

base

Required. The base value of the expression.

exponent

Required. The exponent value of the expression.

The pow method returns a numeric expression equal to baseexponent.

The following example illustrates the use of the pow method.

var x = Math.pow(10,3); // x is assigned the value 1000.

Other Resources

Methods

Community Additions

ADD
Show:
© 2015 Microsoft