語言

Double.Sqrt(Double) 方法

定義

計算一個值的平方根。

public:
 static double Sqrt(double x) = System::Numerics::IRootFunctions<double>::Sqrt;
public static double Sqrt(double x);
static member Sqrt : double -> double
Public Shared Function Sqrt (x As Double) As Double

參數

x
Double

要計算的平方根值。

傳回

的 x平方根。

實作

適用於