Clicky

Fortran Wiki
dble (Rev #1, changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #0 to #1: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

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

float, real

category: Intrinsics

Revision from April 24, 2009 16:03:47 by Jason Blevins
Forward in time (to current) | See current | History | Rollback | View: Source | Linked from: Intrinsic procedures, float, real, sngl

AltStyle によって変換されたページ (->オリジナル) /