Int
INT Function¶
The INT function in Excel is used to round a number down to the nearest integer. The function effectively truncates any fractional component of the number and returns the largest integer less than or equal to the specified value.
Syntax:¶
INT(number)
- number: The numeric value you want to round down to the nearest integer.
Examples:¶
=INT(8.9)would return8. The fractional part.9is removed, leaving the integer part8.=INT(-3.7)would return-4. For negative numbers,INTrounds away from zero.=INT(4)would simply return4, as the number is already an integer.
Usage Notes:¶
- The
INTfunction is different from theROUND,ROUNDUP, andROUNDDOWNfunctions in that it always rounds a number down towards the nearest integer. - For positive numbers,
INTandROUNDDOWNfunction similarly. However, their behavior differs for negative numbers, asROUNDDOWNrounds towards zero. - The
INTfunction can be used in various scenarios, such as when working with time calculations or in scenarios where only the integer part of a number is required.
Note: In scenarios where you need to round a number up to the nearest integer, you can use the
CEILINGfunction or, for more specific control, theROUNDUPfunction.