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
is an option for InputForm and related functions that specifies whether marks should be included in the printed forms of approximate numbers.
  • NumberMarks->True indicates that should be used in all approximate numbers, both machine-precision and arbitrary-precision ones.
  • NumberMarks->Automatic indicates that should be used in arbitrary-precision but not machine-precision numbers.
  • Number marks are used to indicate the type of numbers, and their precision or accuracy.
Machine numbers format without number marks by default:
The same number with number marks:
Extended-precision numbers include number marks by default:
Without number marks:
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=
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF