Mega Code Archive
Categories
/
MySQL Tutorial
/
Math Numeric Functions
TRUNCATE(1 999,0)
mysql> mysql> SELECT TRUNCATE(1.999,0); +-------------------+ | TRUNCATE(1.999,0) | +-------------------+ | 1 | +-------------------+ 1 row in set (0.00 sec) mysql>