Spread 8.0 Documentation
TypeScientificDecPlaces Property
Support Options
ActiveX Reference > ActiveX Properties > TypeScientificDecPlaces Property

Glossary Item Box

TypeScientificDecPlaces Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the number of digits allowed to the right of the decimal point in a scientific cell. This property is available at run time only.

Syntax

C++

short CSpreadSheet::GetTypeScientificDecPlaces( );
void CSpreadSheet::SetTypeScientificDecPlaces(short value);

Visual Basic

[form.]fpSpread.TypeScientificDecPlaces[ = value%]

Remarks

The default value for the TypeScientificDecPlaces property is zero decimal places. The maximum total number of numerals in the cell is 14.

To use the TypeScientificDecPlaces property, specify the sheet with which you want to work by setting the Sheet property. Then specify the cell or cells to which to apply the property, as described in Using Column and Row Properties. Once you set the TypeScientificDecPlaces property for a cell or cells, any subsequent currency cells you create will use the same TypeScientificDecPlaces setting unless you reset it for those cells.

The TypeScientificDecPlaces property does not have an effect unless the CellType property is set to 15 (Scientific) for the specified cell or cells.

You can specify a different character to display as the decimal point by setting the TypeScientificDecimal property.

Spread Designer

Choose the Cell menu, the Cell Type menu, the Scientific menu, and then the Settings tab, and then type a number in the Decimal Places edit box in the Cell Type Settings dialog box.

Data Type

Integer

See Also

Creating and Customizing a Scientific Notation Cell

CellType, Sheet, TypeScientificDecimal, TypeScientificMax, TypeScientificMin properties

DLL Correspondence

SSSetTypeScientific function

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.