Rational.LessThanOrEqual Operator (Rational, Rational)

Solver Foundation 3.0

[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 another rational number.

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

public static bool operator <=(
	Rational rat1,
	Rational rat2


Type: Microsoft.SolverFoundation.Common.Rational
A rational value.
Type: Microsoft.SolverFoundation.Common.Rational
Another rational value.

Return Value

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