Idioma

BigDecimal.Negate Método

Definição

Sobrecargas

Nome Description
Negate()

Retorna uma planície BigDecimal cujo valor é -this.

Negate(MathContext)

Retorna um BigDecimal cujo valor é -this.

Negate()

Retorna uma planície BigDecimal cujo valor é -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

Retornos

Um BigDecimal cujo valor é -this.

Atributos

Comentários

Retorna uma planície BigDecimal cujo valor é -this.

O mesmo que #negate(MathContext), onde o contexto é new MathContext(0, MathContext.PLAIN) .

O comprimento da parte decimal (a escala) do resultado será this.scale()

Java documentação para android.icu.math.BigDecimal.negate().

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

Negate(MathContext)

Retorna um BigDecimal cujo valor é -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

Parâmetros

set
MathContext

As MathContext configurações aritméticas.

Retornos

Um BigDecimal cujo valor é -this.

Atributos

Comentários

Retorna um BigDecimal cujo valor é -this.

Implementa o operador de negação (Prefixo <b><-/b>) (conforme definido na documentação decimal, consulteBigDecimal class header) e retorna o resultado como um BigDecimal objeto.

Java documentação para android.icu.math.BigDecimal.negate(android.icu.math.MathContext).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a