Mega Code Archive

 
Categories / MySQL Tutorial / Math Numeric Functions
 

ROUND(23 298, -1)

mysql> mysql> SELECT ROUND(23.298, -1); +-------------------+ | ROUND(23.298, -1) | +-------------------+ |                20 | +-------------------+ 1 row in set (0.00 sec) mysql>