Product Solutions Support
Try MemSQL

TRUNCATE

Returns the number x truncated to d decimal places.

TRUNCATE (x, d)

Arguments

Return Type

Float or double.

Examples

memsql> select truncate(PI(), 5);
+-------------------+
| truncate(PI(), 5) |
+-------------------+
|           3.14159 |
+-------------------+
Was this article useful?