| www.delorie.com/gnu/docs/gcc/g77_96.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ANInt(A) |
ANInt: REAL function, the `KIND=' value of the type being that of argument A.
A: REAL; scalar; INTENT(IN).
Intrinsic groups: (standard FORTRAN 77).
Description:
Returns A with the fractional portion of its magnitude eliminated by rounding to the nearest whole number and with its sign preserved.
A fractional portion exactly equal to `.5' is rounded to the whole number that is larger in magnitude. (Also called "Fortran round".)
See section 8.11.9.9 AInt Intrinsic, for how to truncate to whole number.
See section 8.11.9.198 NInt Intrinsic, for how to round and then convert
number to INTEGER.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |