|
Format |
Code |
Definition |
|
Scientific |
SS_FMT_FLOAT |
Displays the number in
scientific notation
(exponent form) with N
significant digits. |
|
Fixed |
SS_FMT_FIXED |
Displays the number using a
fixed number of decimal
places, specified by N. |
|
General |
SS_FMT_GEN |
Displays the number in fixed
format or scientific
notation, whichever fits.
Trailing zeros are not
displayed. |
|
Dollars |
SS_FMT_DOLLARS |
Displays the number with a
leading $ sign and with
comma delimiters, as in
$1,000,000. Negative values
are displayed in
parentheses. |
|
Comma |
SS_FMT_COMMA |
Displays the number with
comma delimiters, as in
1,000,000. Negative values
are displayed in
parentheses. |
|
Percent |
SS_FMT_PERCENT |
Display the number as a
percentage, multiplying it
by 100. For example, the
value 0.1 is displayed as
10.00%. |
|
Hex |
SS_FMT_HEX |
Displays the integer portion of the
number in base 16 with a leading 0x
indicator. For example, the value 30.5 would
be displayed as 0x1e. |
|
Logic |
SS_FMT_LOGIC |
Displays the value 0
as 0, the value
1 as 1, and all other values as ?. |
|
Hidden |
SS_FMT_HIDDEN |
The cell contents
are not displayed. |
|
Text |
SS_FMT_TEXT |
For cells which contains
formulas, the formula
itself is displayed, rather than the computed
value of the cell. |