語言

MathContext.RoundUnnecessary 欄位

定義

警告

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

四捨五入模式,以宣稱不需要四捨五入。

[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

欄位值

Value = 7
屬性

備註

四捨五入模式,以宣稱不需要四捨五入。 用作控制操作過程中 BigDecimal 所用的四捨五入模式的設定。

不允許四捨五入(可能遺失資訊)。 若棄置的數字中任意非零,則應拋出 a ArithmeticException 。

Java 文件 android.icu.math.MathContext.ROUND_UNNECESSARY。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於