BUILT-IN MATHEMATICA SYMBOL
$PrePrint
$PrePrint
is a global variable whose value, if set, is applied to every expression before it is printed.
- $PrePrint is applied after Out[n] is assigned, but before the output result is printed.
By default, $PrePrint is not defined, meaning output is shown as it comes from evaluation:
| Out[1]= |  |
Show exact quantities by their numerical value:
| Out[2]= |  |
| Out[3]= |  |
The function is designed to preserve arbitrary precision numbers if they are in the output:
| Out[4]= |  |
Restore $PrePrint to the default:
Note that changing $PrePrint did not change the values saved in Out:
| Out[6]= |  |
New in 1