Rational.Equality Operator (Double, 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 double is equal to a rational number.

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

Syntax

'Declaration
Public Shared Operator = ( _
    dbl As Double, _
    rat As Rational _
) As Boolean
public static bool operator ==(
    double dbl,
    Rational rat
)
public:
static bool operator ==(
    double dbl, 
    Rational rat
)
static let inline (=)
        dbl:float * 
        rat:Rational  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the dbl parameter is equal to the rat parameter; otherwise, false.

.NET Framework Security

See Also

Reference

Rational Structure

Equality Overload

Microsoft.SolverFoundation.Common Namespace