[UP]


Manual Reference Pages  - dble (3)

NAME

dble(3f) - [FORTRAN:INTRINSIC:NUMERIC:TYPE] Double conversion function

SYNTAX

result = DBLE(A)

DESCRIPTION

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

ARGUMENTS

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

RETURN VALUE

The return value is of type DOUBLEPRECISION.

EXAMPLE

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

STANDARD

[[FORTRAN 77]] and later

CLASS

[[Elemental procedure|Elemental function]]

SEE ALSO

float(3), real(3)


dble (3) March 11, 2021
Generated by manServer 1.08 from 32e323e5-b1bf-4f5e-aeec-fcb9bed841f2 using man macros.