Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

Number

Number
represents an exact integer or an approximate real number in Read.

DetailsDetails

  • 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 .

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

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]=
Introduced in 1988
(1.0)