Språk

DecimalFormat.ParseNoExponent Property

Definition

Gets or sets whether to stop parsing at an exponent separator.

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

Property Value

true to request that parsing stop at an exponent separator; otherwise, false.

Attributes

Remarks

Property getter documentation:

[icu] Returns whether to ignore exponents when parsing.

Java documentation for android.icu.text.DecimalFormat.isParseNoExponent().

Property setter documentation:

[icu] Specifies whether to stop parsing when an exponent separator is encountered. For example, with a non-scientific format, parses "123E4" to 123 (with parse position 3) instead of 1230000 (with parse position 5).

When MinimumExponentDigits is greater than zero, exponents are parsed even if this property is true.

Java documentation for android.icu.text.DecimalFormat.setParseNoExponent(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to