The nint performs a transformation on REAL arguments.
The nint function will return the nearest INTEGER to the REAL argument passed to it. This is exactly the same thing as rounding numbers up or down.
The argument x must be a floating point number or an argument of the type REAL.
There are no optional arguments to this function.
As stated earlier, this function basically performs a rounding operation on the real numbers that are passed to it. Therefore if x = 4.67, and this call is issued to the function:
i = nint(x)
it should be pretty obvious that the value of i will be five.
Written by Jason Wehr : firstname.lastname@example.org and Maintained by John Mahaffy : email@example.com