Description
The Microsoft Excel ROUND function returns a number rounded to a specified number of digits. Please note that the VBA version of the ROUND function has different syntax.
Syntax
The syntax for the ROUND function in Microsoft Excel is:
ROUND( number, digits )
Parameters or Arguments
- number
- The number to round.
- digits
- The number of digits to round the number to.
Applies To
- Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
- Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel ROUND function examples and explore how to use the ROUND function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following ROUND examples would return:
=ROUND(A1, 0)
Result: 663
=ROUND(A1, 1)
Result: 662.8
=ROUND(A2, -1)
Result: 50
=ROUND(55.1, -1)
Result: 60
=ROUND(-23.67, 1)
Result: -23.7
No comments:
Post a Comment