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.

Description

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

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.
IPersistStream
IXMLSerialize Provides access to members that XML serialize and deserialize an object to/from XML.

See Also

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