An object for formatting numbers in a user-defined format.
CustomNumberFormat is an ICustomNumberFormat interface coclass whose members determine how the ValueToString method in the associated INumberFormat interface formats numbers. Define your own customized format using the FormatString property.
The custom-number-format object and its default interface allow numeric values to be formatted as strings. It works by pattern matching and allows conversions, such as changing ValueToString(12345678.9) to “12,345,678.90 dollars”.
| Interfaces | Description |
|---|---|
| IClone | Provides access to members that control cloning of objects. |
| ICustomNumberFormat | Provides access to members that format numbers in a customizable way. |
| INumberFormat | Provides access to members that format numbers. |
| INumberFormatOperations | Provides access to common operations on formatted 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 |
IRateFormat Interface | IPercentageFormat Interface | INumericFormat Interface | INumberFormat Interface | AngleFormat Class | CurrencyFormat Class | CustomNumberFormat Class | FractionFormat Class | ILatLonFormat2 Interface | LatLonFormat Class | ILatLonFormat Interface | IFractionFormat Interface | ICustomNumberFormat Interface | NumericFormat Class | ScientificFormat Class | IAngleFormat Interface | RateFormat Class | IScientificNumberFormat Interface | PercentageFormat Class