DLL
To create and customize a scientific notation cell
-
If you want to display an ellipsis, change the alignment, specify the decimal character, or specify the number of decimal digits, call the SSSetTypeScientific function.
Set the parameters for the function as follows:
- Set the Max parameter to specify the maximum value for the cell.
- Set the Min parameter to specify the minimum value for the cell.
-
Set the Right parameter to specify the number of digits allowed to the right of the decimal symbol.
Note: The total number of digits to the left and right of the decimal symbol cannot total more than 14. - Set the lpszDecimal parameter to the decimal character.
- Set the Style parameter to specify:
- Call the SSSetCellType or SSSetCellTypeRange function and set the CellType parameter to SS_TYPE_SCIENTIFIC.