Math.sqrt(number)
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
Math.sqrt(number)

Arguments
number: Number or expression.
number must be >= 0.

Returns
A number.

Description
Returns square root of the number.

Samples
Math.sqrt(3
);   // returns 1.732050807...

Note: Requires Advanced Math Support. See here for more information

See Also
Math.exp(), Math.log(), Math.log10(), Converting Log Base
Math.pow() and Math.sqrt().