


      ROUND(3F)                   (UNIX 5.0)                  ROUND(3F)



      NAME
           anint, dnint, nint, idnint - Fortran nearest integer
           functions

      SYNTAX
           integer i
           real r1, r2
           double precision dp1, dp2

           r2 = anint(r1)
           i = nint(r1)

           dp2 = anint(dp1)
           dp2 = dnint(dp1)

           i = nint(dp1)
           i = idnint(dp1)

      DESCRIPTION
           Nint returns the number that is nearest to its real or
           double-precision argument, in the type of the argument.

           Idnint returns the integer that is nearest to its double-
           precision argument.

           Anint returns the number nearest to its real or double-
           precision argument, in the type of the argument.

           Dnint returns the double real number nearest to its double
           argument.

           The various forms are for programming clarity.























      Page 1                                          (73 A2 03MT REV1)



