DecimalFormat.MinimumGroupingDigits 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.
<strong>[icu]</strong> Returns the minimum number of digits before grouping is triggered. -or- <strong>[icu]</strong> Sets the minimum number of digits that must be before the first grouping separator in order for the grouping separator to be printed.
public virtual int MinimumGroupingDigits { [Android.Runtime.Register("getMinimumGroupingDigits", "()I", "GetGetMinimumGroupingDigitsHandler", ApiSince=31)] get; [Android.Runtime.Register("setMinimumGroupingDigits", "(I)V", "GetSetMinimumGroupingDigits_IHandler", ApiSince=31)] set; }
[<get: Android.Runtime.Register("getMinimumGroupingDigits", "()I", "GetGetMinimumGroupingDigitsHandler", ApiSince=31)>]
[<set: Android.Runtime.Register("setMinimumGroupingDigits", "(I)V", "GetSetMinimumGroupingDigits_IHandler", ApiSince=31)>]
member this.MinimumGroupingDigits : int with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
<strong>[icu]</strong> Returns the minimum number of digits before grouping is triggered.
Java documentation for android.icu.text.DecimalFormat.getMinimumGroupingDigits()
.
Property setter documentation:
<strong>[icu]</strong> Sets the minimum number of digits that must be before the first grouping separator in order for the grouping separator to be printed. For example, if minimum grouping digits is set to 2, in <em>en-US</em>, 1234 will be printed as "1234" and 12345 will be printed as "12,345".
Set the value to: <ul> <li>1 to turn off minimum grouping digits.</li> <li>MINIMUM_GROUPING_DIGITS_AUTO to display grouping using the default strategy for all locales.</li> <li>MINIMUM_GROUPING_DIGITS_MIN2 to display grouping using locale defaults, except do not show grouping on values smaller than 10000 (such that there is a minimum of two digits before the first separator).</li> </ul>
Java documentation for android.icu.text.DecimalFormat.setMinimumGroupingDigits(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.