Indicates if formatted numbers contain digit grouping symbols.
[Visual Basic .NET] Public Property UseSeparator As Boolean
[C#] public bool UseSeparator {get; set;}
[C++]
HRESULT get_UseSeparator(
VARIANT_BOOL* sep
);
[C++]
HRESULT put_UseSeparator(
VARIANT_BOOL sep
);
[C++]Parameters
sep [out, retval] sep is a parameter of type VARIANT_BOOL sep [in] sep is a parameter of type VARIANT_BOOL
Product Availability
Description
The UseSeparator property sets or returns an indicator that tells whether to include a digit grouping symbol when the ValueToString method in the associated INumberFormat interface formats numbers.
The settings for UseSeparator are:
Setting | Description |
False |
(Default) Numbers are formatted without a digit grouping symbol, for example, 1234567.89. |
True |
Numbers are formatted with a digit grouping symbol, for example, 1,234,567.89. |
Remarks
Numbers are formatted using the current regional settings defined for the system at runtime. To change the separator symbol or where the separator appears in the formatted number, change the settings on the Number tab of Control Panel's Regional Settings applet.
See Also
INumericFormat Interface | IScientificNumberFormat Interface | PercentageFormat Class | INumberFormat Interface | INumericFormat Interface | FractionFormat Class | IPercentageFormat Interface | ILatLonFormat Interface | ILatLonFormat2 Interface | LatLonFormat Class | ICustomNumberFormat Interface | RateFormat Class | NumericFormat Class | ScientificFormat Class | IRateFormat Interface | AngleFormat Class | IFractionFormat Interface | CurrencyFormat Class | CustomNumberFormat Class | IAngleFormat Interface