NumberMarks

NumberMarks

is an option for InputForm and related functions that specifies whether ` marks should be included in the printed forms of approximate numbers.

Details

  • The default setting for NumberMarks is given by the value of $NumberMarks.
  • NumberMarks->True indicates that ` should be used in all approximate numbers, both machineprecision and arbitraryprecision ones.
  • NumberMarks->Automatic indicates that ` should be used in arbitraryprecision but not machineprecision numbers.
  • NumberMarks->False indicates that ` should never be used in outputting numbers.
  • Number marks are used to indicate the type of numbers, and their precision or accuracy.
  • The *^ form for scientific notation is always used in InputForm, and is independent of NumberMarks.

Examples

Basic Examples  (2)

Machine numbers format without number marks by default:

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

The same number with number marks:

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

Extended-precision numbers include number marks by default:

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

Without number marks:

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

See Also

NumberForm  Precision  Accuracy

Tutorials

Introduced in 1996
(3.0)