MathContext.RoundingMode 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳四捨五入模式設定。
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 所創建與分享的作品,並依授權條款所描述的使用進行修改。