Intel® Fortran Compiler 18.0 Developer Guide and Reference
Elemental Intrinsic Function (Specific): Converts a character string to an INTEGER(8) value.
result = KNUM (i)
i |
(Input) Must be of type character. |
The result type is INTEGER(8). The result value is the integer value represented by the character string i.
If the argument contains characters that are illegal in an integer value, an error is signaled and execution stops.
KNUM ("46616") has the value 46616 of type INTEGER(8).