BigInteger.Max(BigInteger) Method

Definition

Returns the maximum of this BigInteger and val.

[Android.Runtime.Register("max", "(Ljava/math/BigInteger;)Ljava/math/BigInteger;", "GetMax_Ljava_math_BigInteger_Handler")]
public virtual Java.Math.BigInteger Max (Java.Math.BigInteger val);
[<Android.Runtime.Register("max", "(Ljava/math/BigInteger;)Ljava/math/BigInteger;", "GetMax_Ljava_math_BigInteger_Handler")>]
abstract member Max : Java.Math.BigInteger -> Java.Math.BigInteger
override this.Max : Java.Math.BigInteger -> Java.Math.BigInteger

Parameters

val
BigInteger

value with which the maximum is to be computed.

Returns

the BigInteger whose value is the greater of this and val. If they are equal, either may be returned.

Attributes

Exceptions

if value == null

Remarks

Java documentation for java.math.BigInteger.max(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.

Applies to