INumberFormatOperations Interface

Provides access to common operations on formatted numbers.

Description

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

Members

Name Description
Method Increment Increments a value according to the numbers format.

INumberFormatOperations.Increment Method

Increments a value according to the numbers format.

Public Function Increment ( _
    ByVal Value As Double _
) As Double
public double Increment (
    double Value
);

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.

Classes that implement INumberFormatOperations

Classes Description
AngleFormat An object for formatting numbers in an angle format.
CurrencyFormat An object for formatting numbers in a currency format.
CustomNumberFormat An object for formatting numbers in a user-defined format.
DirectionFormat An object for formatting numbers in a direction format.
FractionFormat An object for formatting numbers in a fraction 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.
ScientificFormat An object for formatting numbers in a scientific format.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.