Expand description
How cells look as text: number formats applied, for the grid, clipboard, CSV and agents.
Structs§
- Stats
- Status-bar statistics for a selection: average, count (non-empty), numerical count, min, max, sum.
Functions§
- cell_
text - The text a cell shows (full precision General; the grid narrows General to fit the column).
- edit_
text - What the cell editor and the formula bar start from. Same as
Cell::input_text, except that a constant number in a date or time format is shown as a date (as the grid shows it), not as its serial. When the formatted text would not read back as the same date (for exampledddd, mmmm d), an ISOyyyy-mm-dd(withhh:mm:ssfor a time of day; justhh:mm:ssfor a time alone) is used instead, and if even that would not read back, the serial. - format
- Formats a value with a format code.
- formula_
hidden - Whether
chas a formula or Python code that must not be shown: its cell is formatted Hidden on a protected sheet. A spilled cell follows its anchor. - number_
format - range_
text - Tab-separated text of a range, as the system clipboard gets it.
- stats
- value_
text - A cell’s value with its number format applied, independent of column width: no
#####and no General narrowing (Save As CSV/Text writes this). Formulas give their result. - value_
text_ as value_textfor a value and a format code given apart from a cell (print takes the code from the cell’s effective look, which a conditional format can override).