語言

DecimalFormat.ScientificNotation 屬性

定義

<strong>[icu]/<strong> 回傳此格式化器是否啟用科學(指數)符號。 -或- <strong[icu]</strong<>strong Scientific>Notation:</strong> 集合 判斷此格式化器是否應該以科學(指數)符號>列印。

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

屬性值

屬性

備註

財產取得者文件:

<strong>[icu]/<strong> 回傳此格式化器是否啟用科學(指數)符號。

Java 文件 android.icu.text.DecimalFormat.isScientificNotation()。

屬性設定文件:

<strong>[icu]</strong<>strong Scientific>Notation:</strong> 集合 是否應該以科學(指數)符號列印此格式。 例如,若啟用科學符號,數字 123000 會以 locale <em>en-US</em> 形式印為「1.23E5」。 使用特定區域符號作為指數分隔符。

呼叫 df.setScientificNotation(true) 在功能上等同於呼叫 df.setMinimumExponentDigits(1)。

Java 文件 android.icu.text.DecimalFormat.setScientificNotation(boolean)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於