Condividi tramite


BigDecimal.Negate Metodo

Definizione

Overload

Negate()

Restituisce un BigDecimal oggetto il cui valore è (-this)e la cui scala è this.scale().

Negate(MathContext)

Restituisce un BigDecimal oggetto il cui valore è (-this), con arrotondamento in base alle impostazioni del contesto.

Negate()

Restituisce un BigDecimal oggetto il cui valore è (-this)e la cui scala è this.scale().

[Android.Runtime.Register("negate", "()Ljava/math/BigDecimal;", "GetNegateHandler")]
public virtual Java.Math.BigDecimal? Negate ();
[<Android.Runtime.Register("negate", "()Ljava/math/BigDecimal;", "GetNegateHandler")>]
abstract member Negate : unit -> Java.Math.BigDecimal
override this.Negate : unit -> Java.Math.BigDecimal

Restituisce

-this.

Attributi

Commenti

Documentazione java per java.math.BigDecimal.negate().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

Negate(MathContext)

Restituisce un BigDecimal oggetto il cui valore è (-this), con arrotondamento in base alle impostazioni del contesto.

[Android.Runtime.Register("negate", "(Ljava/math/MathContext;)Ljava/math/BigDecimal;", "GetNegate_Ljava_math_MathContext_Handler")]
public virtual Java.Math.BigDecimal? Negate (Java.Math.MathContext? mc);
[<Android.Runtime.Register("negate", "(Ljava/math/MathContext;)Ljava/math/BigDecimal;", "GetNegate_Ljava_math_MathContext_Handler")>]
abstract member Negate : Java.Math.MathContext -> Java.Math.BigDecimal
override this.Negate : Java.Math.MathContext -> Java.Math.BigDecimal

Parametri

mc
MathContext

contesto da usare.

Restituisce

-this, arrotondato in base alle esigenze.

Attributi

Commenti

Documentazione java per java.math.BigDecimal.negate(java.math.MathContext).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a