DefaultPrintPrecision

DefaultPrintPrecision

is an option for NumberForm, DecimalForm and related functions that specifies the default number of digits of precision with which to print machine numbers.

Details

  • With the setting DefaultPrintPrecisionn, machine real numbers in NumberForm print with n significant digits of precision.

Examples

open allclose all

Basic Examples  (1)

By default, machine real numbers print with 6 digits of precision:

In[1]:=
Click for copyable input
Out[1]//DecimalForm=

Increase the print precision to 8 digits:

In[2]:=
Click for copyable input
Out[2]//DecimalForm=

Scope  (2)

Properties & Relations  (1)

See Also

NumberForm  DecimalForm  ScientificForm  ScientificNotationThreshold  MachinePrecision  N  NumberMarks

Introduced in 2017
(11.2)