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


NumericFormat CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Classes > N > NumericFormat CoClass (ArcObjects .NET 10.6 SDK)
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
IPersistStream
IXMLSerialize Provides access to members that XML serialize and deserialize an object to/from XML.

See Also

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