Lenguaje

BigDecimal.Negate Método

Definición

Sobrecargas

Nombre Description
Negate()

Devuelve un valor sin formato BigDecimal cuyo valor es -this.

Negate(MathContext)

Devuelve un BigDecimal cuyo valor es -this.

Negate()

Devuelve un valor sin formato BigDecimal cuyo valor es -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

Devoluciones

BigDecimal cuyo valor es -this.

Atributos

Comentarios

Devuelve un valor sin formato BigDecimal cuyo valor es -this.

Igual que #negate(MathContext), donde el contexto es new MathContext(0, MathContext.PLAIN) .

La longitud de la parte decimal (la escala) del resultado será this.scale()

Java documentación para android.icu.math.BigDecimal.negate().

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

Negate(MathContext)

Devuelve un BigDecimal cuyo valor es -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

Configuración MathContext aritmética.

Devoluciones

BigDecimal cuyo valor es -this.

Atributos

Comentarios

Devuelve un BigDecimal cuyo valor es -this.

Implementa el operador de negación (prefijo <b><-/b>) (tal como se define en la documentación decimal, vea BigDecimal class header) y devuelve el resultado como un BigDecimal objeto .

Java documentación para android.icu.math.BigDecimal.negate(android.icu.math.MathContext).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a