BigInteger::CompareTo Method (Int64)
Compares this instance to a signed 64-bit integer and returns an integer that indicates whether the value of this instance is less than, equal to, or greater than the value of the signed 64-bit integer.
Assembly: System.Numerics (in System.Numerics.dll)
Parameters
- other
-
Type:
System::Int64
The signed 64-bit integer to compare.
Return Value
Type: System::Int32A signed integer value that indicates the relationship of this instance to other, as shown in the following table.
Return value | Description |
|---|---|
Less than zero | The current instance is less than other. |
Zero | The current instance equals other. |
Greater than zero | The current instance is greater than other. |
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone
Available since 8.1