The SQLite TRUNC() function is used to truncate a number to an integer. It returns the integer part of its argument rounding toward zero.
TRUNC()is similar to CEIL() and FLOOR(), except that TRUNC() always rounds toward zero. CEIL() on the other hand, always rounds up, and FLOOR() always rounds down.