An object for formatting numbers in a user-defined format.
CustomNumberFormat is an ICustomNumberFormat interface coclass who's members determine how the ValueToString method in the associated INumberFormat interface formats numbers. Define your own customized format using the FormatString property.
| 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 | |
| IPersistStream |
To try out various formatting options using this coclass, select CustomNumberFormat from the dropdown list in the NumberFormat Viewer developer sample.
ILatLonFormat2 Interface | ICustomNumberFormat Interface | RateFormat CoClass | INumberFormat Interface | IRateFormat Interface | IAngleFormat Interface | INumericFormat Interface | ILatLonFormat Interface | CustomNumberFormat CoClass | PercentageFormat CoClass | NumericFormat CoClass | IFractionFormat Interface | IScientificNumberFormat Interface | ScientificFormat CoClass | FractionFormat CoClass | IPercentageFormat Interface | CurrencyFormat CoClass | LatLonFormat CoClass | AngleFormat CoClass