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


IScientificNumberFormat.DecimalPlaces Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IS > IScientificNumberFormat Interface > IScientificNumberFormat.DecimalPlaces Property
ArcGIS Developer Help

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

num is a parameter of type long num [out, retval]
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 | 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