DecimalFormat.ScientificNotation 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[icu] 返回是否在此格式化程序上启用科学(指数)表示法。 - 或 - [icu]科学表示法: 设置此格式化程序是否应以科学(指数)表示法打印。
public virtual bool ScientificNotation { [Android.Runtime.Register("isScientificNotation", "()Z", "GetIsScientificNotationHandler", ApiSince=24)] get; [Android.Runtime.Register("setScientificNotation", "(Z)V", "GetSetScientificNotation_ZHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isScientificNotation", "()Z", "GetIsScientificNotationHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setScientificNotation", "(Z)V", "GetSetScientificNotation_ZHandler", ApiSince=24)>]
member this.ScientificNotation : bool with get, set
属性值
true 如果指数宽度设置启用科学表示法,否则,为 false.
- 特性
注解
属性 getter 文档:
[icu] 返回是否在此格式化程序上启用科学(指数)表示法。
Java文档android.icu.text.DecimalFormat.isScientificNotation()。
属性 setter 文档:
[icu]科学表示法: 设置此格式化程序是否应以科学(指数)表示法打印。 例如,如果启用了科学表示法,数字 123000 将在区域 设置en-US中打印为“1.23E5”。 特定于区域设置的符号用作指数分隔符。
呼叫 df.setScientificNotation(true) 在功能上等效于调用 df.setMinimumExponentDigits(1)。
Java文档android.icu.text.DecimalFormat.setScientificNotation(boolean)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。