NINT

Returns the whole number nearest to the input value.

Format

NINT(x)

Argument

 
x
Any valid expression that evaluates to a real number.

Examples

The following examples illustrate the use of the NINT function:
 
Function
NINT(4.78)
Result
5
 
Function
NINT(-.25)
Result
0