Formula Functions > Functions H to L > INT |
This function rounds a specified number down to the nearest integer.
INT(value)
Use any numeric value for the argument.
You can use this function to return the decimal portion of the value in a cell by subtracting the value of this function for the cell from the value in the cell, as illustrated in the first example.
The TRUNC and INT functions are similar in that both return integers. Use the TRUNC function to remove the decimal portion of the number; the TRUNC function does not round up or down. Use the INT function to round numbers down to the nearest integer-based decimal portion of the number.These functions differ also when using negative numbers: TRUNC(–4.2) returns –4, but INT(–4.2) returns –5 because –5 is the lower number.
Accepts numeric data. Returns numeric data.
INT(A3)
R1C2-INT(R1C2)
INT(2.85) gives the result 2
INT(-2.85) gives the result -3
This function is available in product version 1.0 or later.
CEILING | EVEN | FLOOR | TRUNC | Math and Trigonometry Functions