Rational.Sign Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a value that indicates the sign of a number.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public ReadOnly Property Sign As Integer
public int Sign { get; }
public:
property int Sign {
    int get ();
}
member Sign : int
function get Sign () : int

Property Value

Type: System.Int32
A number that indicates the sign of the number. The values are described in the following table.

Number

Description

-1

The value of the number is negative.

+1

The value of the number is positive.

.NET Framework Security

See Also

Reference

Rational Structure

Microsoft.SolverFoundation.Common Namespace