Intel® Fortran Compiler 16.0 User and Reference Guide

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).