Rational.Sign Property

Solver Foundation 3.0

[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)

public int Sign { get; }

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.

Show: