dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniDecimal Structure / Sign Method
The specified UniDecimal structure.

In This Topic
Sign Method
In This Topic
Gets the sign of the UniDecimal structure.
Syntax
'Declaration
 
Public Shared Function Sign( _
   ByVal value As UniDecimal _
) As Integer
 

Parameters

value
The specified UniDecimal structure.

Return Value

A number indicating the sign of the UniDecimal structure.
Remarks
Return Value Condition
-1 If the specified UniDecimal is less than 0.
0 If the specified UniDecimal is equal to 0.
1 If the specified UniDecimal is greater than 0.
This method is not available in Direct mode.
See Also