NumberFormat.MinimumIntegerDigits Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the minimum number of digits allowed in the integer portion of a number. -or- Sets the minimum number of digits allowed in the integer portion of a number.
public virtual int MinimumIntegerDigits { [Android.Runtime.Register("getMinimumIntegerDigits", "()I", "GetGetMinimumIntegerDigitsHandler", ApiSince=24)] get; [Android.Runtime.Register("setMinimumIntegerDigits", "(I)V", "GetSetMinimumIntegerDigits_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getMinimumIntegerDigits", "()I", "GetGetMinimumIntegerDigitsHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setMinimumIntegerDigits", "(I)V", "GetSetMinimumIntegerDigits_IHandler", ApiSince=24)>]
member this.MinimumIntegerDigits : int with get, set
Property Value
the minimum number of integer digits
- Attributes
Remarks
Property getter documentation:
Returns the minimum number of digits allowed in the integer portion of a number. The default value is 1, which subclasses can override. When formatting, if this value is not reached, numbers are padded on the left with the locale-specific '0' character to ensure at least this number of integer digits. When parsing, this has no effect.
Java documentation for android.icu.text.NumberFormat.getMinimumIntegerDigits()
.
Property setter documentation:
Sets the minimum number of digits allowed in the integer portion of a number. This must be <= maximumIntegerDigits. If the new value for minimumIntegerDigits is more than the current value of maximumIntegerDigits, then maximumIntegerDigits will also be set to the new value.
Java documentation for android.icu.text.NumberFormat.setMinimumIntegerDigits(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.