MathContext.RoundUnnecessary Campo

Definizione

Attenzione

This constant will be removed in the future version. Use Android.Icu.Math.RoundOptionsUnused enum directly instead of this field.

Modalità di arrotondamento per affermare che non è necessario arrotondamento.

[Android.Runtime.Register("ROUND_UNNECESSARY", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Math.RoundOptionsUnused enum directly instead of this field.", true)]
public const Android.Icu.Math.RoundOptionsUnused RoundUnnecessary = 7;
[<Android.Runtime.Register("ROUND_UNNECESSARY", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Math.RoundOptionsUnused enum directly instead of this field.", true)>]
val mutable RoundUnnecessary : Android.Icu.Math.RoundOptionsUnused

Valore del campo

Value = 7
Attributi

Commenti

Modalità di arrotondamento per affermare che non è necessario arrotondamento. Utilizzato come impostazione per controllare la modalità di arrotondamento utilizzata durante un'operazione BigDecimal .

L'arrotondamento (potenziale perdita di informazioni) non è consentito. Se una delle cifre eliminate è diversa da zero, deve essere generata un'eccezione ArithmeticException .

per android.icu.math.MathContext.ROUND_UNNECESSARY.

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