Skip to content

Apache DataFusion SQL Query Engine

Fix round function doc (#6661)

Liang-Chi Hsieh40c1b9b76e22
diff --git a/docs/source/user-guide/sql/scalar_functions.md b/docs/source/user-guide/sql/scalar_functions.md
index 4b2a556806..fdd8aa70e4 100644
--- a/docs/source/user-guide/sql/scalar_functions.md
+++ b/docs/source/user-guide/sql/scalar_functions.md
@@ -412,13 +412,15 @@ random()
Rounds a number to the nearest integer.
```
-round(numeric_expression)
+round(numeric_expression[, decimal_places])
```
#### Arguments
- **numeric_expression**: Numeric expression to operate on.
Can be a constant, column, or function, and any combination of arithmetic operators.
+- **decimal_places**: Optional. The number of decimal places to round to.
+ Defaults to 0.
### `signum`