This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IR > IRateFormat Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that format rates.
The members in the IRateFormat interface define how the ValueToString method in the associated INumberFormat interface formats numbers.
The RateFormat coclass also inherits the INumericFormat interface, so both these interface's properties determine how numbers are formatted.
Use the IRateFormat interface to format numeric values according to a given rate factor.
Description | ||
---|---|---|
RateFactor | The rate factor applied to the ValueToSring and StringToValue methods. | |
RateString | The label appended to the formatted rate number. |
CoClasses and Classes | Description |
---|---|
RateFormat | An object for formatting numbers in a rate format. |
The string defined in the RateString property is appended to the format returned from the ValueToString method.
The value in the RateFactor property is divided into the ValueToString argument value. For example, ValueToString(300) with a RateFactor of 3 returns a formatted string of 100. The corresponding StringToValue method also uses this property. The value in its argument is multiplied by the value in the RateFactor property when StringToValue converts the number back. To obtain the numerical value that was used as an argument to the ValueToString method, make sure the RateFactor property is the same as it was when the ValueToString method was originally used.
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