GNU Info

Info Node: (g77-295.info)ANInt Intrinsic

(g77-295.info)ANInt Intrinsic


Next: Any Intrinsic Prev: And Intrinsic Up: Table of Intrinsic Functions
Enter node , (file) or (file)node

ANInt Intrinsic
...............

     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".)

   Note: AInt Intrinsic, for how to truncate to whole number.

   Note: NInt Intrinsic, for how to round and then convert number to
`INTEGER'.


automatically generated by info2www version 1.2.2.9