Mega Code Archive

 
Categories / MySQL / Math
 

TRUNCATE(number, decimal)

mysql> mysql> mysql> SELECT TRUNCATE(4.27943, 2); +----------------------+ | TRUNCATE(4.27943, 2) | +----------------------+ |                 4.27 | +----------------------+ 1 row in set (0.00 sec) mysql>