This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Number

Number
represents an exact integer or an approximate real number in Read.
  • An integer is returned if no explicit decimal point is present.
  • Approximate real numbers can be given in C or Fortran forms, such as or .
Open a stream:
Read numbers from the stream object:
Close the stream:
Open a stream:
In[1]:=
Click for copyable input
Out[1]=
Read numbers from the stream object:
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=
Close the stream:
In[5]:=
Click for copyable input
Out[5]=
New in 1