sqrt
Summary
Returns the square root of a number.
Syntax
Math.sqrt( number )
Examples
var v1 = Math.sqrt(9);
document.write(v1);
// Output: 3
Remarks
The required number argument is a numeric expression.
If number is negative, the return value is NaN.
See also
Other articles
Attributions
Microsoft Developer Network: Windows Internet Explorer JavaScript reference Article