DecimalFormat.ParseNoExponent 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定是否停止在指數分隔符處進行解析。
public virtual bool ParseNoExponent { [Android.Runtime.Register("isParseNoExponent", "()Z", "GetIsParseNoExponentHandler", ApiSince=31)] get; [Android.Runtime.Register("setParseNoExponent", "(Z)V", "GetSetParseNoExponent_ZHandler", ApiSince=31)] set; }
[<get: Android.Runtime.Register("isParseNoExponent", "()Z", "GetIsParseNoExponentHandler", ApiSince=31)>]
[<set: Android.Runtime.Register("setParseNoExponent", "(Z)V", "GetSetParseNoExponent_ZHandler", ApiSince=31)>]
member this.ParseNoExponent : bool with get, set
屬性值
true 請求解析在指數分隔點停止;否則, false。
- 屬性
備註
財產取得者文件:
[加護病房] 回傳解析時是否忽略指數。
Java 文件 android.icu.text.DecimalFormat.isParseNoExponent()。
屬性設定文件:
[加護病房] 指定遇到指數分隔符時是否停止解析。 例如,在非科學格式下,會將「123E4」解析為 123(解析位置為 3),而非 1230000(解析位置為 5)。
當 MinimumExponentDigits 大於零時,即使該性質為 true,指數仍會被解析。
Java 文件 android.icu.text.DecimalFormat.setParseNoExponent(boolean)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。