dble(3f) - [FORTRAN:INTRINSIC:NUMERIC:TYPE] Double conversion function
result = DBLE(A)
DBLE(A) Converts A to double precision real type.
A The type shall be INTEGER, REAL, or COMPLEX.
The return value is of type DOUBLEPRECISION.
Sample program:
program demo_dble implicit none real :: x = 2.18 integer :: i = 5 complex :: z = (2.3,1.14) print *, dble(x), dble(i), dble(z) end program demo_dble
[[FORTRAN 77]] and later
[[Elemental procedure|Elemental function]]
float(3), real(3)
dble (3) | March 11, 2021 |