语言

MathContext.RoundDown 字段

定义

注意

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

舍入模式以向零舍入。

[Android.Runtime.Register("ROUND_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 RoundDown = 1;
[<Android.Runtime.Register("ROUND_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 RoundDown : Android.Icu.Math.RoundOptionsUnused

字段值

Value = 1
属性

注解

舍入模式以向零舍入。 用作控制操作期间 BigDecimal 使用的舍入模式的设置。

将忽略所有丢弃的数字(截断)。 结果既不递增也不递减。

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

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于