Редагувати

Поділитися через


SqlDecimal.Sign(SqlDecimal) Method

Definition

Gets a value that indicates the sign of a SqlDecimal structure's Value property.

public:
 static System::Data::SqlTypes::SqlInt32 Sign(System::Data::SqlTypes::SqlDecimal n);
public static System.Data.SqlTypes.SqlInt32 Sign (System.Data.SqlTypes.SqlDecimal n);
static member Sign : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlInt32
Public Shared Function Sign (n As SqlDecimal) As SqlInt32

Parameters

n
SqlDecimal

The SqlDecimal structure whose sign is to be evaluated.

Returns

A number that indicates the sign of the SqlDecimal structure.

Applies to

See also