summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/querylanguage.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/querylanguage.md b/doc/querylanguage.md
index 3d134e3..c588e4a 100644
--- a/doc/querylanguage.md
+++ b/doc/querylanguage.md
@@ -61,5 +61,5 @@ FUNCTION := md5sum|maskdigits
* `rorder` stands for reverse order.
* `lacks` is an alias for `ncontains` (not contains).
* Available fields (variables and barewords) vary from the log format used. Check out the [log format](./logformats.md) documentation for more information.
-* `percentage(field)` returns the selected group's share of the total for that field across all groups, expressed as a value between 0 and 100.
+* `percentage(field)` returns the selected group's share of the total for that field across all groups. For non-negative inputs, the result is between 0 and 100; with mixed positive and negative values, it can fall outside that range.
* `percentile(field)` returns the percentile rank of the selected group's value among all grouped values for that field, also expressed as a value between 0 and 100. Equal values share the same rank.