Langue

BigDecimal.Negate Méthode

Définition

Surcharges

Nom Description
Negate()

Retourne une valeur dont BigDecimal la valeur est -this.

Negate(MathContext)

Retourne une BigDecimal valeur dont la valeur est -this.

Negate()

Retourne une valeur dont BigDecimal la valeur est -this.

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

Retours

Dont BigDecimal la valeur est -this.

Attributs

Remarques

Retourne une valeur dont BigDecimal la valeur est -this.

Identique à #negate(MathContext), où le contexte est new MathContext(0, MathContext.PLAIN) .

La longueur de la partie décimale (l’échelle) du résultat sera this.scale()

Java documentation pour android.icu.math.BigDecimal.negate().

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 à

Negate(MathContext)

Retourne une BigDecimal valeur dont la valeur est -this.

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

Paramètres

set
MathContext

Paramètres MathContext arithmétiques.

Retours

Dont BigDecimal la valeur est -this.

Attributs

Remarques

Retourne une BigDecimal valeur dont la valeur est -this.

Implémente l’opérateur de négation (Préfixe <b><-/b>) (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.

Java documentation pour android.icu.math.BigDecimal.negate(android.icu.math.MathContext).

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 à