SqlFunctions.SquareRoot 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 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)
參數
傳回
輸入值的平方根。
- 屬性
適用於
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)
參數
傳回
輸入值的平方根。
- 屬性