An object for formatting numbers in a variety of numeric formats.
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. |
INumericFormat2 | Provides access to members that format numbers. |
IPersist | |
IPersistStream | |
IXMLSerialize | Provides access to members that XML serialize and deserialize an object to/from XML. |