This document is archived and information here might be outdated. Recommended version. |
Provides access to members that format numbers.
The members in the INumericFormat interface define how the ValueToString method in the associated INumberFormat interface formats numbers.
Use the INumericFormat interface to format numbers with any of the objects listed under CoClasses below.
Name | Description | |
---|---|---|
AlignmentOption | The alignment option applied to the ValueToString method. | |
AlignmentWidth | The alignment width applied to the ValueToString method. | |
RoundingOption | The rounding option applied to the ValueToString method. | |
RoundingValue | The rounding value, whose meaning depends on the rounding option. | |
ShowPlusSign | Indicates if formatted numbers contain a plus sign for positive numbers. | |
UseSeparator | Indicates if formatted numbers contain digit grouping symbols. | |
ZeroPad | Indicates if formatted numbers contain padded zeros to the right of the decimal. |
CoClasses and Classes | Description |
---|---|
AngleFormat | An object for formatting numbers in an angle format. |
LatLonFormat | An object for formatting numbers in a lat/lon format. |
NumericFormat | An object for formatting numbers in a variety of numeric formats. |
PercentageFormat | An object for formatting numbers in a percentage format. |
RateFormat | An object for formatting numbers in a rate format. |
The format produced with the NumericFormat coclass object is determined solely on the INumericFormat interface property settings. Formats produced with other objects listed under CoClasses depend on two interface's property settings. These objects inherit the INumericFormat interface in addition to their own default interface.
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