Linguaggio

BigDecimal.Negate Metodo

Definizione

Overload

Nome Descrizione
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

Valori restituiti

-this.

Attributi

Commenti

per java.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 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.

Valori restituiti

-this, arrotondato in base alle esigenze.

Attributi

Commenti

per java.math.BigDecimal.negate(java.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