SqlDecimal.Sign Method (SqlDecimal)


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

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlInt32 Sign(
	SqlDecimal n


Type: System.Data.SqlTypes.SqlDecimal

The SqlDecimal structure whose sign is to be evaluated.

Return Value

Type: System.Data.SqlTypes.SqlInt32

A number that indicates the sign of the SqlDecimal structure.

.NET Framework
Available since 1.1
Return to top