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


INumericFormat.RoundingValue Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IN > INumericFormat Interface > INumericFormat.RoundingValue Property
ArcGIS Developer Help

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(
  System.Int32* Value
);
[C++]
Parameters
Value [in]

Value is a parameter of type long Value [out, retval]
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 | CurrencyFormat Class | IScientificNumberFormat Interface | FractionFormat Class | IPercentageFormat Interface | INumericFormat Interface | IFractionFormat Interface | NumericFormat Class | IAngleFormat Interface | LatLonFormat Class | ICustomNumberFormat Interface | PercentageFormat Class | ILatLonFormat2 Interface | ILatLonFormat Interface | RateFormat Class | IRateFormat Interface | CustomNumberFormat Class | INumberFormat Interface | ScientificFormat Class | AngleFormat Class