Click or drag to resize
Accord.NET (logo)

RationalCompareTo Method (Object)

Compares this instance to another Rational and returns an indication of their relative values.

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public int CompareTo(
	Object obj
)
Request Example View Source

Parameters

obj
Type: SystemObject
The value to compare to. This should be a numeric value.

Return Value

Type: Int32
A signed number indicating the relative values of this instance and obj.

Implements

IComparableCompareTo(Object)
See Also