ArcObjects Library Reference (System)  

ICustomNumberFormat Interface

Provides access to members that format numbers in a customizable way.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Use the ICustomNumberFormat interface to format numbers in a customized way using the FormatString member property. The associated INumberFormats ValueToString method is used to return a string formatted to fit whatever the FormatString property is set to. The StringToValue method reverses this formatting. The formatting is done based on the following sets of characters in the FormatString. 

When To Use

Use the ICustomNumberFormat interface to format numbers in a customized format. Define your own format using the FormatString member property.

Members

Description
Read/write property FormatString A user-defined format expression.

CoClasses that implement ICustomNumberFormat

CoClasses and Classes Description
CustomNumberFormat An object for formatting numbers in a user-defined format.

See Also

IScientificNumberFormat Interface | PercentageFormat Class | INumberFormat Interface | INumericFormat Interface | FractionFormat Class | IPercentageFormat Interface | ILatLonFormat Interface | ILatLonFormat2 Interface | LatLonFormat Class | ICustomNumberFormat Interface | RateFormat Class | NumericFormat Class | ScientificFormat Class | IRateFormat Interface | AngleFormat Class | IFractionFormat Interface | CurrencyFormat Class | CustomNumberFormat Class | IAngleFormat Interface