The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Math::Sqrt Method (Double)
.NET Framework (current version)
Returns the square root of a specified number.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- d
-
Type:
System::Double
The number whose square root is to be found.
Return Value
Type: System::DoubleOne of the values in the following table.
d parameter | Return value |
|---|---|
Zero or positive | The positive square root of d. |
Negative | |
Equals NaN | |
Equals PositiveInfinity |
The square root of the area of a square represents the length of any side of the square. The following example displays the area of some cities in the United States and gives an impression of each city's size if it were represented by a square.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: