Share via


Rational.CompareTo Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Compares two values.

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 CompareTo(Double) Compares a rational number to a double.
Public method CompareTo(Int32) Compares a rational number to an integer.
Public method CompareTo(Int64) Compares a rational number to a long integer.
Public method CompareTo(Object) Compares a rational number to another number (Int32, UInt32, Double, Int64, UInt64, Rational, or BigInteger).
Public method CompareTo(UInt32) Compares a rational number to an unsigned integer.
Public method CompareTo(UInt64) Compares a rational number to an unsigned long integer.
Public method CompareTo(BigInteger) Compares a rational number to a big integer.
Public method CompareTo(Rational) Compares a rational number to another rational number.

Top

See Also

Reference

Rational Structure

Microsoft.SolverFoundation.Common Namespace