SqlCeFunctions.SquareRoot 方法

定义

重载

SquareRoot(Nullable<Decimal>)

返回指定数字的平方根。

SquareRoot(Nullable<Double>)

返回指定数字的平方根。

SquareRoot(Nullable<Decimal>)

返回指定数字的平方根。

[System.Data.Entity.DbFunction("SqlServerCe", "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("SqlServerCe", "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>

数值表达式。

返回

输入值的平方根。

属性

适用于