From a8c3dd0bdd4b800ba7e9cf98d1de15d70c8a226d Mon Sep 17 00:00:00 2001 From: Melissa Vagi Date: Wed, 6 Dec 2023 15:39:49 -0700 Subject: [PATCH] Address editorial feedback Math section Signed-off-by: Melissa Vagi --- .../components/common/helpers/ppl_docs/functions/math.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/public/components/common/helpers/ppl_docs/functions/math.ts b/public/components/common/helpers/ppl_docs/functions/math.ts index 203028a9a..a93647ce0 100644 --- a/public/components/common/helpers/ppl_docs/functions/math.ts +++ b/public/components/common/helpers/ppl_docs/functions/math.ts @@ -334,7 +334,7 @@ Return type: DOUBLE Argument type: INTEGER/LONG/FLOAT/DOUBLE -Return type: Wider type between types \`n\` and \`m\` if \`m\` is a nonzero value. \`NULL\` is returned if \`m\` equals \`0\`. +Return type: If \`m\` is a nonzero value, a type greater in size between types \`n\` and \`m\` is returned. If \`m\` equals \`0\`, \`NULL\` is returned. **Example** @@ -422,10 +422,7 @@ Return type: DOUBLE ### RAND -\`RAND()/RAND(N)\` is a function that returns a random floating-point value in the range \`0 <= value < 1.0\`. If integer \`N\` is specified, the seed is -initialized prior to execution. One implication of this behavior is that with -identical argument \`N\`, \`rand(N)\` returns the same value each time and thus -produces a repeatable sequence of column values. +\`RAND()/RAND(N)\` is a function that returns a random floating-point value in the range \`0 <= value < 1.0\`. If integer \`N\` is specified, the seed is initialized prior to execution. One implication of this behavior is that with identical argument \`N\`, \`rand(N)\` returns the same value each time and thus produces a repeatable sequence of column values. Argument type: INTEGER