9.17. ANINT

9.17 ANINT — Nearest whole number

Description:

ANINT(A [, KIND]) rounds its argument to the nearest whole number.

Standard:

Fortran 77 and later

Class:

Elemental function

Syntax:

RESULT = ANINT(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 parameter will