Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

JNUM

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

result = JNUM (i)

i

(Input) Must be of type character.

Results

The result type is INTEGER(4). 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.

Example

JNUM ("46616") has the value 46616 of type INTEGER(4).