Positive decimal
| A | |
|---|---|
| 1 | Value |
| 2 | 8.9 |
Formula: C2: =INT(A2)
Result: 8
The greatest integer no larger than 8.9 is 8.
INT with worked examples you can test in the live grid. The argument details are in the Excel guide.
The arguments and common errors are covered in the INT Excel guide; check the function help in Google Sheets for its own argument list.
| A | |
|---|---|
| 1 | Value |
| 2 | 8.9 |
Formula: C2: =INT(A2)
Result: 8
The greatest integer no larger than 8.9 is 8.
| A | |
|---|---|
| 1 | Value |
| 2 | -8.1 |
Formula: C2: =INT(A2)
Result: -9
Down means toward negative infinity, not toward zero.
| A | |
|---|---|
| 1 | Units |
| 2 | 29 |
Formula: C2: =INT(A2/6)
Result: 4
Four complete groups of six fit into 29.
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in D2: =INT(A4)
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Number | Step | Result | |
| 2 | 1234.567 | 50 | -5 | |
| 3 | 17 | 5 | ||
| 4 | -4.7 | 12 | ||
| 5 | 144 | 9 | ||
| 6 | 2.5 | 3 | ||
| 7 | 50 | 12 |
Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.
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