INT

9.140 INT — Convert to integer type

Description:
Convert to integer type
Standard:
Fortran 77 and later
Class:
Elemental function
Syntax:
RESULT = INT(A [, KIND))
Arguments:
A Shall be of type INTEGER, REAL, or COMPLEX.
KIND (Optional) An INTEGER initialization expression indicating the kind parameter of the result.
Return value:
These functions return a INTEGER variable or array under the following rules:
(A)
If A is of type INTEGER, INT(A) = A
(B)