Mega Code Archive

 
Categories / MySQL Tutorial / Math Numeric Functions
 

TRUNCATE(-1 999,1)

mysql> mysql> SELECT TRUNCATE(-1.999,1); +--------------------+ | TRUNCATE(-1.999,1) | +--------------------+ |               -1.9 | +--------------------+ 1 row in set (0.00 sec) mysql>