You are on page 1of 1

Data types

Each variable has a "type" associated with it. The main types that you will most likely
use are: 
Date Type Bytes Precision Range

    -3x1038 to -1x10-38
Real 0
-38 38
4 6 sig. figs. 1x10  to 3x10

    -1x10308 to -2x10-308
Real*8 or Double
0
Precision -308 308
8 15 sig. figs. 2x10  to 1x10

 
Integer Exact -2,147,483,648 to 2,147,483,647
4

 
Integer*2 Exact -32,768 to 32,767
2

 
Logical Exact .true. or .false.
4

 
Character*n Exact string of n characters
n

You might also like