Click or drag to resize
MathSqrt Method
Returns the square root of a specified number.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static double Sqrt(
	double d
)

Parameters

d
Type: SystemDouble
A number.

Return Value

Type: Double
One of the values in the following table. d parameter Return value Zero, or positive The positive square root of d. Negative NaNEquals NaNNaNEquals PositiveInfinityPositiveInfinity
See Also