SqlFunctions.Square Method

Definition

Overloads

Square(Nullable<Decimal>)

Returns the square of the specified number.

Square(Nullable<Double>)

Returns the square of the specified number.

Square(Nullable<Decimal>)

Returns the square of the specified number.

[System.Data.Entity.DbFunction("SqlServer", "SQUARE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg1")]
public static Nullable<double> Square (Nullable<decimal> arg1);
static member Square : Nullable<decimal> -> Nullable<double>
Public Shared Function Square (arg1 As Nullable(Of Decimal)) As Nullable(Of Double)

Parameters

arg1
Nullable<Decimal>

A numeric expression.

Returns

The square of the input value.

Attributes

Applies to

Square(Nullable<Double>)

Returns the square of the specified number.

[System.Data.Entity.DbFunction("SqlServer", "SQUARE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg1")]
public static Nullable<double> Square (Nullable<double> arg1);
static member Square : Nullable<double> -> Nullable<double>
Public Shared Function Square (arg1 As Nullable(Of Double)) As Nullable(Of Double)

Parameters

arg1
Nullable<Double>

A numeric expression.

Returns

The square of the input value.

Attributes

Applies to