Applies to: Math Object
The SQRT2 property is used to get the square root of 2.
Syntax
var numVar
numVar = Math.SQRT2
Return value
Returns the square root of 2.
Example
The SQRT2 property, a constant, is approximately equal to 1.414.
See also: Math Object Properties, sqrt Method, SQRT1_2 Property |