语言

MathContext.RoundUnnecessary 字段

定义

注意

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

舍入模式用于断言不需要舍入。

[Android.Runtime.Register("ROUND_UNNECESSARY", 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 RoundUnnecessary = 7;
[<Android.Runtime.Register("ROUND_UNNECESSARY", 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 RoundUnnecessary : Android.Icu.Math.RoundOptionsUnused

字段值

Value = 7
属性

注解

舍入模式用于断言不需要舍入。 用作控制操作期间 BigDecimal 使用的舍入模式的设置。

不允许舍入(可能丢失信息)。 如果任何丢弃的数字为非零,则应引发一个 ArithmeticException 。

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

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

适用于