next up previous contents index
Next: Integer Type Up: Data Types Previous: Data Types

Standard Data Types

The table below summarises the properties of the six data types provided in Standard Fortran:

Data type Characteristics
   
Integer Whole numbers stored exactly.
Real Numbers, which may have fractional parts, stored using a floating-point representation with limited precision.
Double Precision Similar to real but with greater precision.
Complex Complex numbers: stored as an ordered pair of real numbers.
Logical A Boolean value, i.e. one which is either true or false.
Character A string of characters of fixed length.

The first four types (integer, real, double precision, and complex) all hold numerical information and are collectively known as arithmetic data types.



Helen Rowlands
8/27/1998