Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Input and Output  /
NumberMarks

  • NumberMarks is an option for InputForm and related functions that specifies whether ` marks should be included in the printed forms of approximate numbers.
  • The default setting for NumberMarks is given by the value of $NumberMarks.
  • 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.
  • 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.
  • See the Mathematica book: Section 2.11.3Section 3.1.4.
  • See also: NumberForm.

    Further Examples

    In standard output form, numbers are printed to 6 digits.

    In[1]:=

    Out[1]=

    In input form, all known digits are printed.

    In[2]:=

    Out[2]//InputForm=

    Here is an arbitrary-precision number in standard output form.

    In[3]:=

    Out[3]=

    In input form, Mathematica explicitly indicates the precision of the number and gives extra digits to make sure the number can be reconstructed correctly.

    In[4]:=

    Out[4]//InputForm=

    This makes Mathematica not explicitly indicate precision.

    In[5]:=

    Out[5]//InputForm=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.