9.16. ANINT
9.16 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 be given by KIND. If A is greater than zero,
A