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
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 | ILatLonFormat2 Interface | RateFormat Class | IFractionFormat Interface | ICustomNumberFormat Interface | IAngleFormat Interface | ScientificFormat Class | INumberFormat Interface | AngleFormat Class | LatLonFormat Class | INumericFormat Interface | PercentageFormat Class | CustomNumberFormat Class | IRateFormat Interface | IPercentageFormat Interface | NumericFormat Class | CurrencyFormat Class | ILatLonFormat Interface | IScientificNumberFormat Interface | FractionFormat Class