Freigeben über


NumberFormat.MaximumIntegerDigits Property

Definition

Returns the maximum number of digits allowed in the integer portion of a number. -or- Sets the maximum number of digits allowed in the integer portion of a number.

public virtual int MaximumIntegerDigits { [Android.Runtime.Register("getMaximumIntegerDigits", "()I", "GetGetMaximumIntegerDigitsHandler")] get; [Android.Runtime.Register("setMaximumIntegerDigits", "(I)V", "GetSetMaximumIntegerDigits_IHandler")] set; }
[<get: Android.Runtime.Register("getMaximumIntegerDigits", "()I", "GetGetMaximumIntegerDigitsHandler")>]
[<set: Android.Runtime.Register("setMaximumIntegerDigits", "(I)V", "GetSetMaximumIntegerDigits_IHandler")>]
member this.MaximumIntegerDigits : int with get, set

Property Value

the maximum number of digits

Attributes

Remarks

Property getter documentation:

Returns the maximum number of digits allowed in the integer portion of a number.

Java documentation for java.text.NumberFormat.getMaximumIntegerDigits().

Property setter documentation:

Sets the maximum number of digits allowed in the integer portion of a number. maximumIntegerDigits must be &ge; minimumIntegerDigits. If the new value for maximumIntegerDigits is less than the current value of minimumIntegerDigits, then minimumIntegerDigits will also be set to the new value.

Java documentation for java.text.NumberFormat.setMaximumIntegerDigits(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