Link Search Menu Expand Document

SSpread.TypePercentDecPlaces Property

In the percentage cell, set the number of digits to display after the decimal point.

Only valid for cells with the CellType property set to $CellTypePercent (percentage type).
Before setting this property, use the Col , Row properties, and so on to specify what to do.

You can specify 0 to 14 . The initial value is 2 (digits).

This property is subject to property inheritance for percentage cells.

Example of use

Col = 3;
Row = 2;
CellType = $ CellTypePercent;
TypePercentDecPlaces = 3;
Value = 0.1234;
 
BlockMode = $ TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
CellType = $ CellTypePercent;
TypePercentDecPlaces = 1;
Value = 0.5678;
BlockMode = $ FALSE;

Related item
CellType property