Equality Operator (Rational, Double)

Rational.Equality Operator (Rational, Double)

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 equal to a double.

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

public static bool operator ==(
	Rational rat,
	double dbl


Type: Microsoft.SolverFoundation.Common.Rational
A rational value.
Type: System.Double
A double value.

Return Value

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

© 2015 Microsoft