MathContext.RoundHalfUp フィールド

定義

注意事項

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

等値が切り上げられた最も近い近隣に丸める丸めモード。

[Android.Runtime.Register("ROUND_HALF_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 RoundHalfUp = 4;
[<Android.Runtime.Register("ROUND_HALF_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 RoundHalfUp : Android.Icu.Math.RoundOptionsUnused

フィールド値

Value = 4
属性

注釈

等値が切り上げられた最も近い近隣に丸める丸めモード。 BigDecimal操作中に使用される丸めモードを制御する設定として使用されます。

破棄された数字が次の位置の 1 の値の半分以上 (0.5 倍) を表す場合、結果は切り上げられます (ゼロから離れる)。 それ以外の場合、破棄された数字は無視されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象