Round
ROUND Function¶
The ROUND function in Excel is used to round a number to a specified number of digits.
Syntax:¶
ROUND(number, num_digits)
- number: This is the number you want to round.
- num_digits: This specifies the number of digits to which you want to round.
- If
num_digitsis greater than 0, the number is rounded to the specified number of decimal places. - If
num_digitsis 0, the number is rounded to the nearest whole number. - If
num_digitsis less than 0, the number is rounded to the left of the decimal point.
- If
Examples:¶
=ROUND(123.4567, 2)would return 123.46.=ROUND(123.4567, 0)would return 123.=ROUND(123.4567, -2)would return 100.
It's important to note that the ROUND function follows the standard rules of rounding. Numbers equal to or greater than 5 will round up, and numbers less than 5 will round down.