Rational.Equals Method

[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 two numbers are equal.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Equals(Double) Returns a value that indicates whether a rational number is equal to a double.
Public method Equals(Int32) Returns a value that indicates whether a rational number is equal to an integer.
Public method Equals(Int64) Returns a value that indicates whether a rational number is equal to a long integer.
Public method Equals(Object) Returns a value that indicates whether a rational number is equal to another number (Int32, UInt32, Double, Int64, UInt64, Rational, or BigInteger). (Overrides ValueType.Equals(Object).)
Public method Equals(UInt32) Returns a value that indicates whether a rational number is equal to an unsigned integer.
Public method Equals(UInt64) Returns a value that indicates whether a rational number is equal to an unsigned long integer.
Public method Equals(BigInteger) Returns a value that indicates whether a rational number is equal to a big integer.
Public method Equals(Rational) Returns a value that indicates whether a rational number is equal to another rational number.

Top

See Also

Reference

Rational Structure

Microsoft.SolverFoundation.Common Namespace