Share via


BigDecimal.Min(BigDecimal) Method

Definition

Returns the minimum of this BigDecimal and val.

[Android.Runtime.Register("min", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;", "GetMin_Ljava_math_BigDecimal_Handler")]
public virtual Java.Math.BigDecimal? Min (Java.Math.BigDecimal? val);
[<Android.Runtime.Register("min", "(Ljava/math/BigDecimal;)Ljava/math/BigDecimal;", "GetMin_Ljava_math_BigDecimal_Handler")>]
abstract member Min : Java.Math.BigDecimal -> Java.Math.BigDecimal
override this.Min : Java.Math.BigDecimal -> Java.Math.BigDecimal

Parameters

val
BigDecimal

value with which the minimum is to be computed.

Returns

the BigDecimal whose value is the lesser of this BigDecimal and val. If they are equal, as defined by the #compareTo(BigDecimal) compareTo method, this is returned.

Attributes

Exceptions

if val == null.

Remarks

Java documentation for java.math.BigDecimal.min(java.math.BigDecimal).

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