This document is archived and information here might be outdated.  Recommended version.


INumericFormat.UseSeparator Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

INumericFormat.UseSeparator Property

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

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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 | CurrencyFormat Class | IScientificNumberFormat Interface | FractionFormat Class | IPercentageFormat Interface | INumericFormat Interface | IFractionFormat Interface | NumericFormat Class | IAngleFormat Interface | LatLonFormat Class | ICustomNumberFormat Interface | PercentageFormat Class | ILatLonFormat2 Interface | ILatLonFormat Interface | RateFormat Class | IRateFormat Interface | CustomNumberFormat Class | INumberFormat Interface | ScientificFormat Class | AngleFormat Class

.NET Snippets

Decimal Degree Angle Radian Example