Returns the square root of a number.
SyntaxMath.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 AttributionsMicrosoft Developer Network: Windows Internet Explorer JavaScript reference Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4