SqlFunctions.SquareRoot Method

 

Returns the square root of the specified number.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticSquareRoot(Nullable<Decimal>)

Returns the square root of the specified number.

System_CAPS_pubmethodSystem_CAPS_staticSquareRoot(Nullable<Double>)

Returns the square root of the specified number.


SqlFunctions.SquareRoot Method (Nullable<Decimal>)

Returns the square root of the specified number.

[DbFunctionAttribute("SqlServer", "SQRT")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "arg")]
public static Nullable<double> SquareRoot(
	Nullable<decimal> arg
)

Parameters

arg
Type: System.Nullable<Decimal>

A numeric expression.

Return Value

Type: System.Nullable<Double>

The square root of the input value.


SqlFunctions.SquareRoot Method (Nullable<Double>)

Returns the square root of the specified number.

[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "arg")]
[DbFunctionAttribute("SqlServer", "SQRT")]
public static Nullable<double> SquareRoot(
	Nullable<double> arg
)

Parameters

arg
Type: System.Nullable<Double>

A numeric expression.

Return Value

Type: System.Nullable<Double>

The square root of the input value.