XL Fortran for AIX 8.1

Language Reference


INT(A, KIND)

Convert to integer type.

A
must be of type integer, real, or complex.

KIND (optional)
must be a scalar integer initialization expression.

Class

Elemental function

Result Type and Attributes

Result Value

Examples

INT (-3.7) has the value -3.


Specific Name Argument Type Result Type Pass As Arg?
INT default real default integer no
IDINT double precision real default integer no
IFIX default real default integer no
IQINT (1) REAL(16) default integer no

Notes:

  1. IBM Extension.

Related Information

For information on alternative behavior for INT when porting programs to XL Fortran, see the -qport compiler option in the User's Guide.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]