MathObject::sqrt Method (Double)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Calculates the square root of the specified number.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Math_sqrt)]
static double sqrt(
	double x
)

Parameters

x
Type: System::Double

The number to calculate the square root of.

Return Value

Type: System::Double

The square root of x.

.NET Framework
Available since 1.1
Return to top
Show: