ArcObjects Library Reference  (System)    

NumericFormat CoClass

An object for formatting numbers in a variety of numeric formats.

Product Availability

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


The NumericFormat is used to determine how numbers are formatted when using the ValueToString and StringToValue methods from the associated INumberFormat interface.

The format produced with the NumericFormat coclass object is determined solely by the INumericFormat interface property settings.

For each of the coclasses, the combination of properties on both interfaces Formats produced with other coclasses that support INumericFormat depend on the property settings of two interfaces: the INumericFormat interface as well as the implemented interface within the numeric format coclasses. This means that the NumericFormat coclass can be used for the general formatting of numbers (such as number of decimal places and plus sign), while the other coclasses that support INumericFormat can perform special formatting (such as rates, latitudeľ longitude, and percentages) by using a combination of INumericFormat and their own interface.

Supported Platforms

Windows, Solaris, Linux


Interfaces Description
IClone Provides access to members that control cloning of objects.
INumberFormat Provides access to members that format numbers.
INumberFormatOperations Provides access to common operations on formatted numbers.
INumericFormat Provides access to members that format numbers.
IPersist (esriSystem) Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IXMLSerialize Provides access to members that XML serialize and deserialize an object to/from XML.

See Also

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


NumericFormat Example