BigInteger: CompareTo

CompareTo

Compares two BigInteger instance to each other returning their relation.



 Public Function CompareTo(
	  ByVal Other As BigInteger ) As Long

Parameters

Other
[ByVal] BigInteger. The right handed value to compare this instance against.

Return Values

Long -  Returns the relation between this instance and the other number as shown in the following table.
Value Meaning
Less than zeroThis instance is less than Other.
ZeroThis instance equals Other.
Greater than zeroThis instance is greater than Other.

Remarks

If Nothing is passed in, it is treated as zero.

See Also

Project CorLib Overview

Class BigInteger Overview