Freigeben über


BigDecimal.DivideInteger Method

Definition

Overloads

DivideInteger(BigDecimal)

Returns a plain BigDecimal whose value is the integer part of this/rhs.

DivideInteger(BigDecimal, MathContext)

Returns a BigDecimal whose value is the integer part of this/rhs.

DivideInteger(BigDecimal)

Returns a plain BigDecimal whose value is the integer part of this/rhs.

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

Parameters

rhs
BigDecimal

The BigDecimal for the right hand side of the integer division.

Returns

A BigDecimal whose value is the integer part of this/rhs.

Attributes

Remarks

Returns a plain BigDecimal whose value is the integer part of this/rhs.

The same as #divideInteger(BigDecimal, MathContext), where the BigDecimal is rhs , and the context is new MathContext(0, MathContext.PLAIN).

Java documentation for android.icu.math.BigDecimal.divideInteger(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

DivideInteger(BigDecimal, MathContext)

Returns a BigDecimal whose value is the integer part of this/rhs.

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

Parameters

rhs
BigDecimal

The BigDecimal for the right hand side of the integer division.

set
MathContext

The MathContext arithmetic settings.

Returns

A BigDecimal whose value is the integer part of this/rhs.

Attributes

Remarks

Returns a BigDecimal whose value is the integer part of this/rhs.

Implements the integer division operator (as defined in the decimal documentation, see BigDecimal class header), and returns the result as a BigDecimal object.

Java documentation for android.icu.math.BigDecimal.divideInteger(android.icu.math.BigDecimal, android.icu.math.MathContext).

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