This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IS > IScientificNumberFormat Interface > IScientificNumberFormat.DecimalPlaces Property (ArcObjects .NET 10.5 SDK) |
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
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.
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