TRUNCATE(, ) : TRUNCATE « Math « SQL / MySQL






TRUNCATE(, )

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

mysql>

   
    
    
  








Related examples in the same category

1.Use TRUNCATE