語言

MathContext.RoundingMode 屬性

定義

回傳四捨五入模式設定。

public Android.Icu.Math.RoundOptions RoundingMode { [Android.Runtime.Register("getRoundingMode", "()I", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getRoundingMode", "()I", "", ApiSince=24)>]
member this.RoundingMode : Android.Icu.Math.RoundOptions

屬性值

且 int 是四捨五入模式設定的值

屬性

備註

回傳四捨五入模式設定。 此時會是 #ROUND_CEILING, #ROUND_DOWN, #ROUND_FLOOR, #ROUND_HALF_DOWN#ROUND_HALF_EVEN, #ROUND_HALF_UP#ROUND_UNNECESSARY或 #ROUND_UP。

Java 文件 android.icu.math.MathContext.getRoundingMode()。

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

適用於