The TRUNC() function takes a number and returns the first integer that is equal to or closer to zero than the argument:
TRUNC(5.5) === TRUNC(5.1) === TRUNC(5) === 5 TRUNC(-5.5) === TRUNC(-5.1) === TRUNC(-5) === -5
See also CEIL, FLOOR, and ROUND.