Freigeben über


NumberFormat.GroupingUsed Property

Definition

Returns true if grouping is used in this format. -or- Set whether or not grouping will be used in this format.

public virtual bool GroupingUsed { [Android.Runtime.Register("isGroupingUsed", "()Z", "GetIsGroupingUsedHandler")] get; [Android.Runtime.Register("setGroupingUsed", "(Z)V", "GetSetGroupingUsed_ZHandler")] set; }
[<get: Android.Runtime.Register("isGroupingUsed", "()Z", "GetIsGroupingUsedHandler")>]
[<set: Android.Runtime.Register("setGroupingUsed", "(Z)V", "GetSetGroupingUsed_ZHandler")>]
member this.GroupingUsed : bool with get, set

Property Value

true if grouping is used; false otherwise

Attributes

Remarks

Property getter documentation:

Returns true if grouping is used in this format. For example, in the English locale, with grouping on, the number 1234567 might be formatted as "1,234,567". The grouping separator as well as the size of each group is locale dependent and is determined by sub-classes of NumberFormat.

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

Property setter documentation:

Set whether or not grouping will be used in this format.

Java documentation for java.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.

Applies to