共用方式為


SqlFunctions.SquareRoot 方法

定義

多載

SquareRoot(Nullable<Decimal>)

傳回指定數字的平方根。

SquareRoot(Nullable<Double>)

傳回指定數字的平方根。

SquareRoot(Nullable<Decimal>)

傳回指定數字的平方根。

[System.Data.Entity.DbFunction("SqlServer", "SQRT")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<double> SquareRoot(Nullable<decimal> arg);
static member SquareRoot : Nullable<decimal> -> Nullable<double>
Public Shared Function SquareRoot (arg As Nullable(Of Decimal)) As Nullable(Of Double)

參數

arg
Nullable<Decimal>

一個數值運算式。

傳回

輸入值的平方根。

屬性

適用於

SquareRoot(Nullable<Double>)

傳回指定數字的平方根。

[System.Data.Entity.DbFunction("SqlServer", "SQRT")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg")]
public static Nullable<double> SquareRoot(Nullable<double> arg);
static member SquareRoot : Nullable<double> -> Nullable<double>
Public Shared Function SquareRoot (arg As Nullable(Of Double)) As Nullable(Of Double)

參數

arg
Nullable<Double>

一個數值運算式。

傳回

輸入值的平方根。

屬性

適用於