DBLE(3f)

DESCRIPTION
DBLE(A) Converts A to double precision real type.

STANDARD
Fortran 77 and later

CLASS
Elemental function

SYNTAX
RESULT = DBLE(A)

ARGUMENTS

A The type shall be INTEGER, REAL, or COMPLEX.

RETURN VALUE
The return value is of type double precision real.

EXAMPLE
          program test_dble
              real :: x = 2.18
              integer :: i = 5
              complex :: z = (2.3,1.14)
              print *, dble(x), dble(i), dble(z)
          end program test_dble

SEE ALSO
REAL

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).