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


INumericFormat.RoundingValue Property (ArcObjects .NET 10.4 SDK)
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 | 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

.NET Snippets

Decimal Degree Angle Radian Example