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

## Description

Converts an input value to a double value. If the input parameter is of a date type, its value will be interpreted as milliseconds since the [Unix epoch](https://en.wikipedia.org/wiki/Unix_time), converted to double. Boolean `true` will be converted to double `1.0`, `false` to `0.0`.

