com.esri.arcgis.system
Interface INumberFormatOperations

All Superinterfaces:
Serializable
All Known Implementing Classes:
AngleFormat, CurrencyFormat, CustomNumberFormat, DirectionFormat, FractionFormat, LatLonFormat, NumericFormat, PercentageFormat, RateFormat, ScientificFormat

public interface INumberFormatOperations
extends Serializable

Provides access to common operations on formatted numbers.

Description

The INumberFormatOperations interface provides access to methods that perform common operations on formatted numbers.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 double increment(double value)
          Increments a value according to the numbers format.
 

Method Detail

increment

double increment(double value)
                 throws IOException,
                        AutomationException
Increments a value according to the numbers format.

Remarks

The Increment method reacts differently depending on the number format object used and how that object is configured. A NumericFormat configured for a specific number of decimal places will increment to the last decimal place. For example, if two decimal places are specified, 22.533 would increment to 22.54; if the object is configured for two significant digits, 22.533 would increment to 24. For an AngleFormat, the input value is converted to the display format first then the same rules apply as for a NumericFormat.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
value - The value (in)
Returns:
The result
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.