The ROUND function allows you to manage the decimal portion of a numeric value. It rounds a number to a specified number of digits. In this guide, we’re going to show you how to use the ROUND function and also throw in some tips and error handling methods.
Supported versions
- All versions
Syntax
ROUND(number,[num_digits])
Arguments
number | The number to be rounded. |
[num_digits] | The number of digits. |
Examples
Firstly a reminder: Named ranges are added to ease of reading formulas.
Example 1
=ROUND(314.159265358979,2)
Example 2
=ROUND(314.159265358979,0)
Example 3
=ROUND(314.159265358979,-2)