ArcObjects Library Reference (System)  

IScientificNumberFormat.DecimalPlaces Property

The number of decimal digits in a scientifically-formatted number.

[Visual Basic .NET]
Public Property DecimalPlaces As Integer
[C#]
public int DecimalPlaces {get; set;}
[C++]
HRESULT get_DecimalPlaces(
  long* num
);
[C++]
HRESULT put_DecimalPlaces(
  long num
);
[C++]

Parameters

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

Product Availability

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

Description

The DecimalPlaces property sets or returns a long representing the number of decimals to show in the mantissa. Since all digits in a scientific format expression are significant, set the DecimalPlaces property to the number of desired significant digits minus 1. For example, to express the value 1 to 3 significant digits (1.00e+000), set DecimalPlaces to 2. The default value is 6.

See Also

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