Language

DecimalFormat.ParseMaxDigits Property

Definition

Gets or sets the parse exponent limit on Android 7.0 through 8.1. On Android 9 and later, this setting has no effect.

public virtual int ParseMaxDigits { [Android.Runtime.Register("getParseMaxDigits", "()I", "GetGetParseMaxDigitsHandler", ApiSince=24)] get; [Android.Runtime.Register("setParseMaxDigits", "(I)V", "GetSetParseMaxDigits_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getParseMaxDigits", "()I", "GetGetParseMaxDigitsHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setParseMaxDigits", "(I)V", "GetSetParseMaxDigits_IHandler", ApiSince=24)>]
member this.ParseMaxDigits : int with get, set

Property Value

On Android 7.0 through 8.1, the configured limit, which defaults to 1000. On Android 9 and later, 1000.

Attributes

Remarks

Property getter documentation:

On Android 7.0 through 8.1, the getter returns the configured exponent limit. On Android 9 and later, it returns 1000.

This member is deprecated. Setting max parse digits has no effect since ICU4J 59.

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

Property setter documentation:

On Android 7.0 through 8.1, a positive value sets the exponent limit. Nonpositive values are ignored.

This member is deprecated. Setting max parse digits has no effect since ICU4J 59.

Java documentation for android.icu.text.DecimalFormat.setParseMaxDigits(int).

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