Commit f7aa296c authored by Julius Volz's avatar Julius Volz

Clarify that to_nearest may be a fraction in round().

parent 5c6a5fd0
......@@ -100,7 +100,7 @@ rate(http_requests_total{job="api-server"}[5m])
`round(v instant-vector, to_nearest=1 scalar)` rounds the sample values of all
elements in `v` to the nearest integer. Ties are resolved by rounding up. The
optional `to_nearest` argument allows specifying the nearest multiple to which
the sample values should be rounded.
the sample values should be rounded. This multiple may also be a fraction.
## `scalar()`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment