Back to Elasticsearch

Round

docs/reference/query-languages/esql/_snippets/functions/parameters/round.md

9.4.0324 B
Original Source

% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.

Parameters

number : The numeric value to round. If null, the function returns null.

decimals : The number of decimal places to round to. Defaults to 0. If null, the function returns null.