Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Numerical Evaluation & Precision > Display of Numbers > $NumberMarks >

$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.
  • True indicates that should by default be used in all approximate numbers, both machine-precision and arbitrary-precision ones.
  • Automatic indicates that should by default be used in arbitrary-precision but not machine-precision numbers.
  • False indicates that should by default never be used in outputting numbers.
The default value of $NumberMarks is Automatic:
MachinePrecision numbers are shown without a number mark:
Arbitrary-precision numbers are shown with a mark and the precision:
Temporarily force machine numbers to be shown with number marks:
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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF