BigDecimal.Min 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.
Overloads
Min(BigDecimal) |
Returns a plain |
Min(BigDecimal, MathContext) |
Returns a |
Min(BigDecimal)
Returns a plain BigDecimal
whose value is the minimum of this
and rhs
.
[Android.Runtime.Register("min", "(Landroid/icu/math/BigDecimal;)Landroid/icu/math/BigDecimal;", "GetMin_Landroid_icu_math_BigDecimal_Handler", ApiSince=24)]
public virtual Android.Icu.Math.BigDecimal? Min (Android.Icu.Math.BigDecimal? rhs);
[<Android.Runtime.Register("min", "(Landroid/icu/math/BigDecimal;)Landroid/icu/math/BigDecimal;", "GetMin_Landroid_icu_math_BigDecimal_Handler", ApiSince=24)>]
abstract member Min : Android.Icu.Math.BigDecimal -> Android.Icu.Math.BigDecimal
override this.Min : Android.Icu.Math.BigDecimal -> Android.Icu.Math.BigDecimal
Parameters
- rhs
- BigDecimal
The BigDecimal
for the right hand side of the comparison.
Returns
A BigDecimal
whose value is the minimum of this
and rhs
.
- Attributes
Remarks
Returns a plain BigDecimal
whose value is the minimum of this
and rhs
.
The same as #min(BigDecimal, MathContext)
, where the BigDecimal
is rhs
, and the context is new MathContext(0, MathContext.PLAIN)
.
Java documentation for android.icu.math.BigDecimal.min(android.icu.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
Min(BigDecimal, MathContext)
Returns a BigDecimal
whose value is the minimum of this
and rhs
.
[Android.Runtime.Register("min", "(Landroid/icu/math/BigDecimal;Landroid/icu/math/MathContext;)Landroid/icu/math/BigDecimal;", "GetMin_Landroid_icu_math_BigDecimal_Landroid_icu_math_MathContext_Handler", ApiSince=24)]
public virtual Android.Icu.Math.BigDecimal? Min (Android.Icu.Math.BigDecimal? rhs, Android.Icu.Math.MathContext? set);
[<Android.Runtime.Register("min", "(Landroid/icu/math/BigDecimal;Landroid/icu/math/MathContext;)Landroid/icu/math/BigDecimal;", "GetMin_Landroid_icu_math_BigDecimal_Landroid_icu_math_MathContext_Handler", ApiSince=24)>]
abstract member Min : Android.Icu.Math.BigDecimal * Android.Icu.Math.MathContext -> Android.Icu.Math.BigDecimal
override this.Min : Android.Icu.Math.BigDecimal * Android.Icu.Math.MathContext -> Android.Icu.Math.BigDecimal
Parameters
- rhs
- BigDecimal
The BigDecimal
for the right hand side of the comparison.
- set
- MathContext
The MathContext
arithmetic settings.
Returns
A BigDecimal
whose value is the minimum of this
and rhs
.
- Attributes
Remarks
Returns a BigDecimal
whose value is the minimum of this
and rhs
.
Returns the smaller of the current object and the first parameter.
If calling the #compareTo(BigDecimal, MathContext)
method with the same parameters would return -1
or 0
, then the result of calling the #plus(MathContext)
method on the current object (using the same MathContext
parameter) is returned. Otherwise, the result of calling the #plus(MathContext)
method on the first parameter object (using the same MathContext
parameter) is returned.
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.