This document is archived and information here might be outdated.  Recommended version.


INumberFormatOperations.Increment Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IN > INumberFormatOperations Interface > INumberFormatOperations.Increment Method
ArcGIS Developer Help

INumberFormatOperations.Increment Method

Increments a value according to the numbers format.

[Visual Basic .NET]
Public Function Increment ( _
    ByVal Value As Double _
) As Double
[C#]
public double Increment (
    double Value
);
[C++]
HRESULT Increment(
  double Value
);
[C++]
Parameters
Value [in]

Value is a parameter of type double

Product Availability

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

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.

See Also

INumberFormatOperations Interface