SqlFunctions.SquareRoot Method

Definition

Overloads

SquareRoot(Nullable<Decimal>)

Returns the square root of the specified number.

SquareRoot(Nullable<Double>)

Returns the square root of the specified number.

SquareRoot(Nullable<Decimal>)

Returns the square root of the specified number.

[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)

Parameters

arg
Nullable<Decimal>

A numeric expression.

Returns

The square root of the input value.

Attributes

Applies to

SquareRoot(Nullable<Double>)

Returns the square root of the specified number.

[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)

Parameters

arg
Nullable<Double>

A numeric expression.

Returns

The square root of the input value.

Attributes

Applies to