語言

MathContext.RoundUp 欄位

定義

警告

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

四捨五入模式從零開始四捨五入。

[Android.Runtime.Register("ROUND_UP", 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 RoundUp = 0;
[<Android.Runtime.Register("ROUND_UP", 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 RoundUp : Android.Icu.Math.RoundOptionsUnused

欄位值

Value = 0
屬性

備註

四捨五入模式從零開始四捨五入。 用作控制操作過程中 BigDecimal 所用的四捨五入模式的設定。

若被丟棄的數字中有任何非零,結果將向上取整(遠離零)。

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

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

適用於