ArcObjects Library Reference  (System)    

INumericFormat.UseSeparator Property

Indicates if formatted numbers contain digit grouping symbols.

[Visual Basic 6.0]
Property UseSeparator As Boolean
[Visual Basic .NET]
Public Property UseSeparator As Boolean
[C#]
public bool UseSeparator {get; set;}
[Java]
public boolean isUseSeparator()
throws
    IOException,
    AutomationException
[Java]
public void setUseSeparator(
boolean UseSeparator
)
throws
    IOException,
    AutomationException
[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 | IFractionFormat Interface | AngleFormat Class | IAngleFormat Interface | IPercentageFormat Interface | ICustomNumberFormat Interface | CurrencyFormat Class | LatLonFormat Class | FractionFormat Class | IRateFormat Interface | RateFormat Class | ILatLonFormat2 Interface | NumericFormat Class | CustomNumberFormat Class | INumericFormat Interface | PercentageFormat Class | IScientificNumberFormat Interface | ILatLonFormat Interface | INumberFormat Interface | ScientificFormat Class

Example

NumericFormat Example