SqlCeFunctions.SquareRoot Method

 

Returns the square root of the specified number.

Namespace:   System.Data.Entity.SqlServerCompact
Assembly:  EntityFramework.SqlServerCompact (in EntityFramework.SqlServerCompact.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.


SqlCeFunctions.SquareRoot Method (Nullable<Decimal>)

Returns the square root of the specified number.

[DbFunctionAttribute("SqlServerCe", "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.


SqlCeFunctions.SquareRoot Method (Nullable<Double>)

Returns the square root of the specified number.

[DbFunctionAttribute("SqlServerCe", "SQRT")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "arg")]
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.