round( ) Query Function

Rounds an input field how=round (default), how=floor or how=ceil.


Name Type Required Default Description
field string Yes The names of the field to round.
as string No The output name of the field to round (defaults to the same as the input field)
how string No round how to round (round, ceil, floor).

field is the unnamed parameter.


Round a number


Round a number

timechart(function=max(value)) | round(_max, how=floor)