% This is generated by ESQL's ToAggregateMetricDoubleTests. Do not edit it. See docs/reference/query-languages/esql/README.md for how to regenerate it.

```{applies_to}
stack: preview 9.2.0
serverless: preview
```

## Syntax

:::{image} /reference/query-languages/esql/images/generated/x-pack-esql/functions/to_aggregate_metric_double.svg
:alt: Embedded
:class: text-center
:::


:::{include} ../parameters/to_aggregate_metric_double.md
:::

:::{include} ../description/to_aggregate_metric_double.md
:::

:::{include} ../types/to_aggregate_metric_double.md
:::

:::{include} ../examples/to_aggregate_metric_double.md
:::
