Elemental Intrinsic Function (Generic): Converts an integer to double precision type.
Syntax
Results:
The result is of type double precision real (REAL(8) or REAL*8). Functions that cause conversion of one data type to another type have the same effect as the implied conversion in assignment statements.
Specific Name 1 | Argument Type | Result Type |
---|---|---|
INTEGER(1) | REAL(8) | |
DFLOTI | INTEGER(2) | REAL(8) |
DFLOTJ | INTEGER(4) | REAL(8) |
DFLOTK | INTEGER(8) | REAL(8) |
1 These specific functions cannot be passed as actual arguments. |
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
See Also: REAL
Examples
DFLOAT (-4) has the value -4.0.