# Nearest integer calculator: Round to the nearest integer

You can find the nearest integer of a given number to input the rint command and several numbers in the form above. For example, if you want the nearest integer of 3.1, paste rint 3.1 in the form and press the enter key.

rint 3.1


The result is 3.

rint 3.1
rint
(3.1) = 3


3 is the nearest integer of 3.1.　The values in parentheses is what you input and right values are outputs.

## Multiple ceiling values

This online calculator can take several arguments like this.

rint 3.49 3.5 3.6 -1.4 -1.5 -1.6


All the numbers are separated by space. Here is the result.

rint 3.49 3.5 3.6 -1.4 -1.5 -1.6
rint
(3.49) = 3
(3.5) = 4
(3.6) = 4
(-1.4) = -1
(-1.5) = -2
(-1.6) = -2


The nearest integer 3.49, 3.5, 3.6 is 3, 4, 4 respectively. Strictly speaking, 3.5 is the center of 3 and 4 so both are nearest integers of 3.5. But 4 is the nearest of 3.5 and -2 is the nearest of -1.5.