*keyboard_arrow_left*Back to Knowledge Base

*keyboard_arrow_left*Back to Knowledge Base

# Rounding calculator results down to the nearest integer

You can round the results of your calculator’s formula down to the nearest integer using the **floor()** function. It’s a useful tool for when the results of formulas need to be whole numbers. In this case, the **floor()** function is used to round the results down to the nearest integer. For example, if the result of a formula is 87.3, it will be rounded down to the nearest integer, which is 87.

After creating the desired formula and writing it in the formula editor, put ‘floor’ before the formula, which should be written in brackets. As such, if the formula is 2.2 + 2.3 then you should write it like this: floor(2.2+2.3). Now, the result will be rounded down from 4.5 to 4.

**NOTE:** To use the standard way of rounding numbers up or down, i.e. if the result is 4.4 or lower the number will be rounded down to 4, or if the result is 4.5 or higher the result will be rounded up to 5, use the **round()** function in the same way as **floor()**.