Watch the 7.3 Webinar On-Demand
This new release brings updates to Universal Storage, query
optimization, and usability that you won’t want to miss.
Rounds a number to the given precision.
ROUND ( expression, precision )
Float or double.
SELECT ROUND(3.14159, 0), ROUND(3.14159, 2);
+-------------------+-------------------+
| ROUND(3.14159, 0) | ROUND(3.14159, 2) |
+-------------------+-------------------+
| 3 | 3.14 |
+-------------------+-------------------+