語言

MathContext.RoundCeiling 欄位

定義

警告

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

四捨五入模式,讓數字四捨五入。

[Android.Runtime.Register("ROUND_CEILING", 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 RoundCeiling = 2;
[<Android.Runtime.Register("ROUND_CEILING", 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 RoundCeiling : Android.Icu.Math.RoundOptionsUnused

欄位值

Value = 2
屬性

備註

四捨五入模式,讓數字四捨五入。 用作控制操作過程中 BigDecimal 所用的四捨五入模式的設定。

若棄置的數字中任意非零,則結果應四捨五入至下一個較為正的數字。

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

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

適用於