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

ILatLonFormat2 Interface | RateFormat Class | IFractionFormat Interface | ICustomNumberFormat Interface | IAngleFormat Interface | ScientificFormat Class | INumberFormat Interface | AngleFormat Class | LatLonFormat Class | INumericFormat Interface | PercentageFormat Class | CustomNumberFormat Class | IRateFormat Interface | IPercentageFormat Interface | NumericFormat Class | CurrencyFormat Class | ILatLonFormat Interface | IScientificNumberFormat Interface | FractionFormat Class