Share via


BigDecimal.CompareTo Method

Definition

Overloads

CompareTo(BigDecimal)
CompareTo(BigDecimal, MathContext)

CompareTo(BigDecimal)

[Android.Runtime.Register("compareTo", "(Landroid/icu/math/BigDecimal;)I", "GetCompareTo_Landroid_icu_math_BigDecimal_Handler", ApiSince=24)]
public virtual int CompareTo (Android.Icu.Math.BigDecimal? rhs);
[<Android.Runtime.Register("compareTo", "(Landroid/icu/math/BigDecimal;)I", "GetCompareTo_Landroid_icu_math_BigDecimal_Handler", ApiSince=24)>]
abstract member CompareTo : Android.Icu.Math.BigDecimal -> int
override this.CompareTo : Android.Icu.Math.BigDecimal -> int

Parameters

Returns

Attributes

Remarks

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

CompareTo(BigDecimal, MathContext)

[Android.Runtime.Register("compareTo", "(Landroid/icu/math/BigDecimal;Landroid/icu/math/MathContext;)I", "GetCompareTo_Landroid_icu_math_BigDecimal_Landroid_icu_math_MathContext_Handler", ApiSince=24)]
public virtual int CompareTo (Android.Icu.Math.BigDecimal? rhs, Android.Icu.Math.MathContext? set);
[<Android.Runtime.Register("compareTo", "(Landroid/icu/math/BigDecimal;Landroid/icu/math/MathContext;)I", "GetCompareTo_Landroid_icu_math_BigDecimal_Landroid_icu_math_MathContext_Handler", ApiSince=24)>]
abstract member CompareTo : Android.Icu.Math.BigDecimal * Android.Icu.Math.MathContext -> int
override this.CompareTo : Android.Icu.Math.BigDecimal * Android.Icu.Math.MathContext -> int

Parameters

Returns

Attributes

Remarks

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