NumberFormat.GroupingUsed 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 true if grouping is used in this format. -or- Sets whether or not grouping will be used in this format.
public virtual bool GroupingUsed { [Android.Runtime.Register("isGroupingUsed", "()Z", "GetIsGroupingUsedHandler", ApiSince=24)] get; [Android.Runtime.Register("setGroupingUsed", "(Z)V", "GetSetGroupingUsed_ZHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("isGroupingUsed", "()Z", "GetIsGroupingUsedHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setGroupingUsed", "(Z)V", "GetSetGroupingUsed_ZHandler", ApiSince=24)>]
member this.GroupingUsed : bool with get, set
Property Value
true if grouping is used
- Attributes
Remarks
Property getter documentation:
Returns true if grouping is used in this format. For example, in the en_US locale, with grouping on, the number 1234567 will be formatted as "1,234,567". The grouping separator as well as the size of each group is locale-dependent and is determined by subclasses of NumberFormat. Grouping affects both parsing and formatting.
Java documentation for android.icu.text.NumberFormat.isGroupingUsed()
.
Property setter documentation:
Sets whether or not grouping will be used in this format. Grouping affects both parsing and formatting.
Java documentation for android.icu.text.NumberFormat.setGroupingUsed(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.