BigDecimal.Remainder Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Remainder(BigDecimal) |
Retourne une valeur dont |
| Remainder(BigDecimal, MathContext) |
Retourne une |
Remainder(BigDecimal)
Retourne une valeur dont BigDecimal la valeur est le reste, à l’aide de this/rhsl’arithmétique de point fixe.
[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.BigDecimal
Paramètres
- rhs
- BigDecimal
Pour BigDecimal le côté droit de l’opération restante.
Retours
Dont BigDecimal la valeur est le reste, à l’aide de this/rhsl’arithmétique de point fixe.
- Attributs
Remarques
Retourne une valeur dont BigDecimal la valeur est le reste, à l’aide de this/rhsl’arithmétique de point fixe.
Identique à #remainder(BigDecimal, MathContext), où est le BigDecimalrhs, et le contexte est new MathContext(0, MathContext.PLAIN).
Il ne s’agit pas de l’opérateur modulo : le résultat peut être négatif.
Java documentation pour android.icu.math.BigDecimal.remainder(android.icu.math.BigDecimal).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.
S’applique à
Remainder(BigDecimal, MathContext)
Retourne une BigDecimal valeur dont la valeur est le reste de 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.BigDecimal
Paramètres
- rhs
- BigDecimal
Pour BigDecimal le côté droit de l’opération restante.
- set
- MathContext
Paramètres MathContext arithmétiques.
Retours
Dont BigDecimal la valeur est le reste de this+rhs.
- Attributs
Remarques
Retourne une BigDecimal valeur dont la valeur est le reste de this/rhs.
Implémente l’opérateur de reste (tel que défini dans la documentation décimale, voir BigDecimal class header), et retourne le résultat sous la forme d’un BigDecimal objet.
Il ne s’agit pas de l’opérateur modulo : le résultat peut être négatif.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.