语言

DecimalFormat.MathContextICU 属性

定义

[icu] 返回 android.icu.math.MathContext 用于舍入数字的项。 - 或 - [icu]舍入和数字限制:重#setMathContext载。android.icu.math.MathContext

public virtual Android.Icu.Math.MathContext? MathContextICU { [Android.Runtime.Register("getMathContextICU", "()Landroid/icu/math/MathContext;", "GetGetMathContextICUHandler", ApiSince=24)] get; [Android.Runtime.Register("setMathContextICU", "(Landroid/icu/math/MathContext;)V", "GetSetMathContextICU_Landroid_icu_math_MathContext_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getMathContextICU", "()Landroid/icu/math/MathContext;", "GetGetMathContextICUHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setMathContextICU", "(Landroid/icu/math/MathContext;)V", "GetSetMathContextICU_Landroid_icu_math_MathContext_Handler", ApiSince=24)>]
member this.MathContextICU : Android.Icu.Math.MathContext with get, set

属性值

一个新的 ICU 数学上下文,其中包含当前精度、舍入模式和 ICU 表示法形式。

特性

注解

属性 getter 文档:

[icu] 返回 android.icu.math.MathContext 用于舍入数字的项。

Java文档android.icu.text.DecimalFormat.getMathContextICU()。

属性 setter 文档:

[icu]舍入和数字限制:为 android.icu.math.MathContext. 的#setMathContext重载。

Java文档android.icu.text.DecimalFormat.setMathContextICU(android.icu.math.MathContext)。

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

适用于