Language

MathContext.RoundHalfEven フィールド

定義

注意事項

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_EVEN", 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 RoundHalfEven = 6;
[<Android.Runtime.Register("ROUND_HALF_EVEN", 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 RoundHalfEven : Android.Icu.Math.RoundOptionsUnused

フィールド値

Value = 6
属性

注釈

最も近い近隣に丸める丸めモード。等間隔の値は最も近い偶数の近隣に丸められます。 BigDecimal操作中に使用される丸めモードを制御する設定として使用されます。

破棄された数字が次の位置の 1 の値の半分 (0.5 倍) を超える場合、結果は切り上げられます (ゼロから離れる)。 半分未満を表す場合は、結果を切り捨てておく必要があります。

それ以外の場合 (正確に半分を表します)、右端の桁が偶数の場合は結果が切り捨てられます。右端の数字が奇数の場合は切り上げられます (偶数桁を作成するため)。

Javaドキュメント。

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

適用対象