BigDecimal.Remainder 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
| Remainder(BigDecimal) | Returns a plain  | 
| Remainder(BigDecimal, MathContext) | Returns a  | 
Remainder(BigDecimal)
Returns a plain BigDecimal whose value is the remainder of this/rhs, using fixed point
arithmetic.
[Android.Runtime.Register("remainder", "(Landroid/icu/math/BigDecimal;)Landroid/icu/math/BigDecimal;", "GetRemainder_Landroid_icu_math_BigDecimal_Handler", ApiSince=24)]
public virtual Android.Icu.Math.BigDecimal? Remainder(Android.Icu.Math.BigDecimal? rhs);[<Android.Runtime.Register("remainder", "(Landroid/icu/math/BigDecimal;)Landroid/icu/math/BigDecimal;", "GetRemainder_Landroid_icu_math_BigDecimal_Handler", ApiSince=24)>]
abstract member Remainder : Android.Icu.Math.BigDecimal -> Android.Icu.Math.BigDecimal
override this.Remainder : Android.Icu.Math.BigDecimal -> Android.Icu.Math.BigDecimalParameters
- rhs
- BigDecimal
The BigDecimal for the right hand side of the remainder operation.
Returns
A BigDecimal whose value is the remainder of this/rhs, using fixed point
arithmetic.
- Attributes
Remarks
Returns a plain BigDecimal whose value is the remainder of this/rhs, using fixed point arithmetic.
The same as #remainder(BigDecimal, MathContext), where the BigDecimal is rhs, and the context is new MathContext(0, MathContext.PLAIN).
This is not the modulo operator -- the result may be negative.
Java documentation for android.icu.math.BigDecimal.remainder(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
Remainder(BigDecimal, MathContext)
Returns a BigDecimal whose value is the remainder of this/rhs.
[Android.Runtime.Register("remainder", "(Landroid/icu/math/BigDecimal;Landroid/icu/math/MathContext;)Landroid/icu/math/BigDecimal;", "GetRemainder_Landroid_icu_math_BigDecimal_Landroid_icu_math_MathContext_Handler", ApiSince=24)]
public virtual Android.Icu.Math.BigDecimal? Remainder(Android.Icu.Math.BigDecimal? rhs, Android.Icu.Math.MathContext? set);[<Android.Runtime.Register("remainder", "(Landroid/icu/math/BigDecimal;Landroid/icu/math/MathContext;)Landroid/icu/math/BigDecimal;", "GetRemainder_Landroid_icu_math_BigDecimal_Landroid_icu_math_MathContext_Handler", ApiSince=24)>]
abstract member Remainder : Android.Icu.Math.BigDecimal * Android.Icu.Math.MathContext -> Android.Icu.Math.BigDecimal
override this.Remainder : Android.Icu.Math.BigDecimal * Android.Icu.Math.MathContext -> Android.Icu.Math.BigDecimalParameters
- rhs
- BigDecimal
The BigDecimal for the right hand side of the remainder operation.
- set
- MathContext
The MathContext arithmetic settings.
Returns
A BigDecimal whose value is the remainder of this+rhs.
- Attributes
Remarks
Returns a BigDecimal whose value is the remainder of this/rhs.
Implements the remainder operator (as defined in the decimal documentation, see BigDecimal class header), and returns the result as a BigDecimal object.
This is not the modulo operator -- the result may be negative.
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.