The ROUNDDOWN function in Google Sheets is an efficient tool for simplifying numerical data by limiting the number of decimal places. This function ensures that numbers are rounded down, making it particularly useful in scenarios where precision is necessary, such as financial calculations or statistical analyses.
Syntax
ROUNDDOWN(value, decimal_places)
- value: The number you wish to round down.
- decimal_places: Specifies how many decimal places to which you want to round the value.
Example #1
=ROUNDDOWN(4.56789, 2)
This example rounds the number 4.56789 down to 2 decimal places, resulting in 4.56.
Example #2
=ROUNDDOWN(123.456, 0)
In this case, the function rounds down the number 123.456 to 0 decimal places, yielding 123.
Example #3
=ROUNDDOWN(-2.789, 1)
Here, the function rounds the negative number -2.789 down to 1 decimal place, resulting in -2.7.
Error handling
- VALUE!: This error occurs if the value provided is not a number, indicating that the function cannot perform rounding.
- NUM!: This error appears when the decimal_places argument is less than zero, meaning the function cannot round to a negative number of decimal places.