keyboard_arrow_left Back to Knowledge Base

Rounding 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.

Rounding calculator results down

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().

Build calculator for free!