ArcObjects Library Reference  (System)    

INumericFormat.RoundingValue Property

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

[Visual Basic 6.0]
Property RoundingValue As Long
[Visual Basic .NET]
Public Property RoundingValue As Integer
[C#]
public int RoundingValue {get; set;}
[Java]
public int getRoundingValue()
throws
    IOException,
    AutomationException
[Java]
public void setRoundingValue(
Long RoundingValue
)
throws
    IOException,
    AutomationException
[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 | IFractionFormat Interface | AngleFormat Class | IAngleFormat Interface | IPercentageFormat Interface | ICustomNumberFormat Interface | CurrencyFormat Class | LatLonFormat Class | FractionFormat Class | IRateFormat Interface | RateFormat Class | ILatLonFormat2 Interface | NumericFormat Class | CustomNumberFormat Class | INumericFormat Interface | PercentageFormat Class | IScientificNumberFormat Interface | ILatLonFormat Interface | INumberFormat Interface | ScientificFormat Class

Example

NumericFormat Example