Math.pow()

Availability

Flash Player 5. In Flash Player 4, the methods and properties of the Math class are emulated using approximations and may not be as accurate as the non-emulated math functions supported by Flash Player 5.

Usage

Math.pow(x , y)

Parameters

x A number to be raised to a power.

y A number specifying a power the parameter x is raised to.

Returns

A number.

Description

Method; computes and returns x to the power of y: xy.