Product Solutions Support
Try MemSQL

ROUND

Rounds a number to the given precision.

ROUND ( expression, precision )

Arguments

Return Type

Float or double.

Examples

memsql> select round(3.14159, 0), round(3.14159, 2);
+-------------------+-------------------+
| round(3.14159, 0) | round(3.14159, 2) |
+-------------------+-------------------+
|                 3 |              3.14 |
+-------------------+-------------------+
Was this article useful?