ArcObjects Library Reference (System)  

INumericFormat.RoundingValue Property

The rounding value, whose meaning depends on the rounding option.

[Visual Basic .NET]
Public Property RoundingValue As Integer
[C#]
public int RoundingValue {get; set;}
[C++]
HRESULT get_RoundingValue(
  long* Value
);
[C++]
HRESULT put_RoundingValue(
  long Value
);
[C++]

Parameters

Value [out, retval]   Value is a parameter of type long Value [in]   Value is a parameter of type long

Product Availability

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

Description

The RoundingValue property sets or returns the number of decimal places or significant digits (default: 6) to round a number to when the ValueToString method in the associated INumberFormat interface formats numbers.

See Also

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