Math > Math.sqrt

Math.sqrt

Syntax

Math.sqrt(x);

Arguments

x Any number or expression greater than or equal to 0.

Description

Method; computes and returns the square root of the specified number.

Player

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