Skip to content

Commit

Permalink
Updated documentation of round function return type (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#1725)

* fixed round documentation

Signed-off-by: Matthew Wells <[email protected]>
  • Loading branch information
matthewryanwells authored and acarbonetto committed Jun 22, 2023
1 parent 7fd2b36 commit e02b449
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/user/dql/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,10 @@ Usage: ROUND(x, d) rounds the argument x to d decimal places, d defaults to 0 if
Argument 1 type: INTEGER/LONG/FLOAT/DOUBLE
Argument 2 type (optional): INTEGER

Return type: LONG
Return type map:

(INTEGER/LONG[, INTEGER]) -> LONG
(FLOAT/DOUBLE[, INTEGER]) -> DOUBLE

Example::

Expand Down

0 comments on commit e02b449

Please sign in to comment.