info prev up next book cdrom email home

Nearest Integer Function


The nearest integer function nint(x) of $x$, also called Nint or the Round function, is defined such that $[x]$ is the Integer closest to $x$. It is shown as the thin solid curve in the above plot. Note that while $[x]$ is used to denote the nearest integer function in this work, $[x]$ is more commonly used to denote the Floor Function $\left\lfloor{x}\right\rfloor $.

See also Ceiling Function, Floor Function

© 1996-9 Eric W. Weisstein