9.12. AINT

9.12 AINT — Truncate to a whole number

Description:

AINT(A [, KIND]) truncates its argument to a whole number.

Standard:

Fortran 77 and later

Class:

Elemental function

Syntax:

RESULT = AINT(A [, KIND])

Arguments:
A The type of the argument shall be REAL.
KIND (Optional) An INTEGER initialization expression indicating the kind parameter of the result.
Return value:

The return value is of type REAL with the kind type parameter of the argument if the optional KIND is absent; otherwise, the kind type pa