$NumberMarks

$NumberMarks
gives the default value for the option NumberMarks, which specifies whether marks should be included in the input form representations of approximate numbers.

DetailsDetails

  • The default setting for $NumberMarks is Automatic.
  • $NumberMarks=True indicates that should by default be used in all approximate numbers, both machine-precision and arbitrary-precision ones.
  • $NumberMarks=Automatic indicates that should by default be used in arbitrary-precision but not machine-precision numbers.
  • $NumberMarks=False indicates that should by default never be used in outputting numbers.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

The default value of $NumberMarks is Automatic:

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

MachinePrecision numbers are shown without a number mark:

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

Arbitrary-precision numbers are shown with a mark and the precision:

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

Temporarily force machine numbers to be shown with number marks:

In[1]:=
Click for copyable input
Out[1]=
New in 3
New to Mathematica? Find your learning path »
Have a question? Ask support »