Intel® Fortran Compiler 18.0 Developer Guide and Reference

RNUM

Elemental Intrinsic Function (Specific): Converts a character string to a REAL(4) value. This function cannot be passed as an actual argument.

result = RNUM (i)

i

(Input) Must be of type character.

Results

The result type is REAL(4). The result value is the real value represented by the character string i.

Example

RNUM ("821.003") has the value 821.003 of type REAL(4).