Полезная информация

Microsoft® JScript™
pow Method
 Language Reference 
Version 1 

See Also                  Applies To


Description
Returns the value of a base expression taken to a specified power.
Syntax
Math.pow(base, exponent)

The pow method syntax has these parts:

Part Description
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);


© 1997 Microsoft Corporation. All rights reserved. Terms of Use.