Number

Number

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

Details

  • An integer is returned if no explicit decimal point is present.
  • Approximate real numbers can be given in C or Fortran forms, such as 2.4E5 or -3.4e-4.

Examples

Basic Examples  (1)

Open a stream:

Read numbers from the stream object:

Close the stream:

Introduced in 1988
 (1.0)