语言

MathContext.RoundHalfDown 字段

定义

注意

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_DOWN", 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 RoundHalfDown = 5;
[<Android.Runtime.Register("ROUND_HALF_DOWN", 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 RoundHalfDown : Android.Icu.Math.RoundOptionsUnused

字段值

Value = 5
属性

注解

舍入模式以舍入到最接近的邻居,其中等价值向下舍入。 用作控制操作期间 BigDecimal 使用的舍入模式的设置。

如果丢弃的数字表示大于一半(0.5 次),则下一个位置的一个数字的值应向上舍入(远离零)。 否则,将忽略丢弃的数字。

Java文档android.icu.math.MathContext.ROUND_HALF_DOWN。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于