BigInteger.CompareTo(BigInteger) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares this BigInteger with the specified BigInteger.
[Android.Runtime.Register("compareTo", "(Ljava/math/BigInteger;)I", "GetCompareTo_Ljava_math_BigInteger_Handler")]
public virtual int CompareTo (Java.Math.BigInteger val);
[<Android.Runtime.Register("compareTo", "(Ljava/math/BigInteger;)I", "GetCompareTo_Ljava_math_BigInteger_Handler")>]
abstract member CompareTo : Java.Math.BigInteger -> int
override this.CompareTo : Java.Math.BigInteger -> int
Parameters
- val
- BigInteger
BigInteger to which this BigInteger is to be compared.
Returns
-1, 0 or 1 as this BigInteger is numerically less than, equal
to, or greater than val
.
- Attributes
Exceptions
if value == null
.
Remarks
Java documentation for java.math.BigInteger.compareTo(java.math.BigInteger)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.