From bf13566cd0d080b3976f6a1fc72db5a9ca7650a0 Mon Sep 17 00:00:00 2001 From: Matthew Wells Date: Thu, 8 Jun 2023 14:02:48 -0700 Subject: [PATCH 1/2] fixed round docuementation Signed-off-by: Matthew Wells --- docs/user/dql/functions.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/user/dql/functions.rst b/docs/user/dql/functions.rst index 2a6e70a085..4a1a1c249d 100644 --- a/docs/user/dql/functions.rst +++ b/docs/user/dql/functions.rst @@ -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]) -> LONG Example:: From bcec83da767a4ea66e52fdadd3124859587948fc Mon Sep 17 00:00:00 2001 From: Matthew Wells Date: Tue, 13 Jun 2023 15:35:20 -0700 Subject: [PATCH 2/2] fixed long instead of double Signed-off-by: Matthew Wells --- docs/user/dql/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/dql/functions.rst b/docs/user/dql/functions.rst index 4a1a1c249d..fa37dc7778 100644 --- a/docs/user/dql/functions.rst +++ b/docs/user/dql/functions.rst @@ -904,7 +904,7 @@ Argument 2 type (optional): INTEGER Return type map: (INTEGER/LONG[, INTEGER]) -> LONG -(FLOAT/DOUBLE[, INTEGER]) -> LONG +(FLOAT/DOUBLE[, INTEGER]) -> DOUBLE Example::