Rational.LessThanOrEqual Operator (Rational, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a value that indicates whether a rational number is less than or equal to an integer.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Operator <= ( _
rat As Rational, _
n As Integer _
) As Boolean
public static bool operator <=(
Rational rat,
int n
)
public:
static bool operator <=(
Rational rat,
int n
)
static let inline (<=)
rat:Rational *
n:int : bool
JScript does not support overloaded operators.
Parameters
- rat
Type: Microsoft.SolverFoundation.Common.Rational
A rational value.
- n
Type: System.Int32
An integer value.
Return Value
Type: System.Boolean
true if the rat parameter is less than or equal to the n parameter; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.