BigInteger.CompareTo(Int64) Method

Compares a number to another number.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public int CompareTo(
	long other
)

Parameters

other  Int64
A long integer.

Return Value

Int32
-1 if this number is less than other; +1 if this number is larger than other; 0 if this number equals other.

See Also