SqlFunctions.SquareRoot SqlFunctions.SquareRoot SqlFunctions.SquareRoot SqlFunctions.SquareRoot Method

Definition

Returns the square root of the specified number.

Overloads

SquareRoot(Nullable<Decimal>) SquareRoot(Nullable<Decimal>) SquareRoot(Nullable<Decimal>) SquareRoot(Nullable<Decimal>)

Returns the square root of the specified number.

SquareRoot(Nullable<Double>) SquareRoot(Nullable<Double>) SquareRoot(Nullable<Double>) SquareRoot(Nullable<Double>)

Returns the square root of the specified number.

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see SQRT (Transact-SQL).

SquareRoot(Nullable<Decimal>) SquareRoot(Nullable<Decimal>) SquareRoot(Nullable<Decimal>) SquareRoot(Nullable<Decimal>)

Returns the square root of the specified number.

public:
 static Nullable<double> SquareRoot(Nullable<System::Decimal> arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "SQRT")]
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.

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see SQRT (Transact-SQL).

SquareRoot(Nullable<Double>) SquareRoot(Nullable<Double>) SquareRoot(Nullable<Double>) SquareRoot(Nullable<Double>)

Returns the square root of the specified number.

public:
 static Nullable<double> SquareRoot(Nullable<double> arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "SQRT")]
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.

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see SQRT (Transact-SQL).

Applies to