INT (Primitive Spread Function) rounds a specified number down to the nearest integer.
SYNTAX:
INT(value)
REMARKS:
You can use the INT function to return the decimal portion of the value in a cell by subtracting the value of INT 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.
The INT and TRUNC functions differ also when using negative numbers: TRUNC(-4.2) returns –4, but INT(-4.2) returns –5 because –5 is the lower number.
EXAMPLES:
INT(A3)
INT(2.85)=2
INT(-2.85)=-3