TextString¶
Converts an expression to a plain text string (similar to ToString but
aimed at human-readable output).
An approximate real is always written in full decimal — never the *^
notation ToString switches to — and keeps a fractional digit while its
integer part is shorter than six digits:
An exact number that is not a bare symbol is numericized to six significant digits, while a symbol prints as itself:
The rules apply element-wise inside a list or association:
A complex number shows both parts, the imaginary one always as a real:
A missing value contributes nothing to the text: