Elemental Intrinsic Function (Specific): Converts a character string to a double-precision value.
Syntax
result = DNUM (i)
i
(Input) Must be of type character.
Results
The result type is double-precision real. The result value is the double-precision real value represented by the character string i.
Examples
DNUM ("3.14159") has the double-precision value 3.14159.
The following sets x to 311.0:
CHARACTER(3) i
DOUBLE PRECISION x
i = "311"
x = DNUM(i)