Rational.LessThanOrEqual Operator (Int64, Rational)

[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 long integer is less than or equal to a rational number.

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

Syntax

'Declaration
Public Shared Operator <= ( _
    n As Long, _
    rat As Rational _
) As Boolean
public static bool operator <=(
    long n,
    Rational rat
)
public:
static bool operator <=(
    long long n, 
    Rational rat
)
static let inline (<=)
        n:int64 * 
        rat:Rational  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the n parameter is less than or equal to the rat parameter; otherwise, false.

.NET Framework Security

See Also

Reference

Rational Structure

LessThanOrEqual Overload

Microsoft.SolverFoundation.Common Namespace