INT function
Applies To
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel for the webExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016Microsoft OfficeMicrosoft365.comThis article describes the formula syntax and usage of theINT function in Microsoft Excel.
Description
Rounds a number down to the nearest integer.
Syntax
INT(number)
The INT function syntax has the following arguments:
Number Required. The real number you want to round down to an integer.
Example
Copy the example data in the following table and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
Data | ||
---|---|---|
19.5 | ||
Formula | Description | Result |
=INT(8.9) | Rounds 8.9 down. | 8 |
=INT(-8.9) | Rounds -8.9 down. Rounding a negative number down rounds it away from 0. | -9 |
=A2-INT(A2) | Returns the decimal part of a positive real number in cell A2. | 0.5 |
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.