Share via


Rational.GreaterThan Operator (Rational, 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 one rational number is greater than another rational number.

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

Syntax

'Declaration
Public Shared Operator > ( _
    rat1 As Rational, _
    rat2 As Rational _
) As Boolean
public static bool operator >(
    Rational rat1,
    Rational rat2
)
public:
static bool operator >(
    Rational rat1, 
    Rational rat2
)
static let inline (>)
        rat1:Rational * 
        rat2:Rational  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the rat1 parameter is greater than the rat2 parameter; otherwise, false.

.NET Framework Security

See Also

Reference

Rational Structure

GreaterThan Overload

Microsoft.SolverFoundation.Common Namespace