Two decimals
| A | |
|---|---|
| 1 | Value |
| 2 | 3.14159 |
Formula: C1: =ROUND(A2,2)
Result: 3.14
Keeps two decimal places.
Rounds to the nearest value. Negative digits round to tens, hundreds.
ROUND(number, num_digits)Example: =ROUND(1234.567,2)
Available in: All versions
ROUND rounds a number to a set number of digits: =ROUND(number, num_digits). Positive digits keep decimals, 0 gives a whole number, and negative digits round to tens, hundreds or thousands. Halves round away from zero.
| A | |
|---|---|
| 1 | Value |
| 2 | 3.14159 |
Formula: C1: =ROUND(A2,2)
Result: 3.14
Keeps two decimal places.
| A | |
|---|---|
| 1 | Value |
| 2 | 1234.567 |
Formula: C1: =ROUND(A2,-2)
Result: 1200
A negative num_digits rounds to the left of the decimal point.
| A | |
|---|---|
| 1 | Price |
| 2 | 19.99 |
Formula: C1: =ROUND(A2*1.0825,2)
Result: 21.64
19.99 × 1.0825 = 21.639175, rounded to cents.
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in D2: =ROUND(A2,2)
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Number | Step | Result | |
| 2 | 1234.567 | 50 | 1234.57 | |
| 3 | 17 | 5 | ||
| 4 | -4.7 | 12 | ||
| 5 | 144 | 9 | ||
| 6 | 2.5 | 3 | ||
| 7 | 50 | 12 |
Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo
Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page