NullableTypes Class Library

NullableDecimal.Sign Method 

Gets a value indicating the sign of a specified NullableDecimal structure.

[Visual Basic]
Public Shared Function Sign( _
   ByVal x As NullableDecimal _
) As NullableInt32
[C#]
public static NullableInt32 Sign(
   NullableDecimal x
);

Parameters

x
A NullableDecimal structure.

Return Value

Null if x is Null, Zero if x is Zero otherwise +1 x is greater then zero or -1 if x is less then zero.

See Also

NullableDecimal Class | NullableTypes Namespace