Lingua

BigDecimal.Negate Metodo

Definizione

Overload

Nome Descrizione
Negate()

Restituisce un oggetto plain BigDecimal il cui valore è -this.

Negate(MathContext)

Restituisce un oggetto il BigDecimal cui valore è -this.

Negate()

Restituisce un oggetto plain BigDecimal il cui valore è -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

Valori restituiti

Oggetto BigDecimal il cui valore è -this.

Attributi

Commenti

Restituisce un oggetto plain BigDecimal il cui valore è -this.

Uguale a #negate(MathContext), dove il contesto è new MathContext(0, MathContext.PLAIN) .

La lunghezza della parte decimale (scala) del risultato sarà this.scale()

per android.icu.math.BigDecimal.negate().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

Negate(MathContext)

Restituisce un oggetto il BigDecimal cui valore è -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

Parametri

set
MathContext

Impostazioni MathContext aritmetiche.

Valori restituiti

Oggetto BigDecimal il cui valore è -this.

Attributi

Commenti

Restituisce un oggetto il BigDecimal cui valore è -this.

Implementa l'operatore di negazione (prefisso <b><-/b>) (come definito nella documentazione decimale, vedere BigDecimal class header) e restituisce il risultato come BigDecimal oggetto .

per android.icu.math.BigDecimal.negate(android.icu.math.MathContext).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a