1234567891011121314151617181920212223242526272829303132333435 |
- [discrete]
- [[esql-to_radians]]
- === `TO_RADIANS`
- *Syntax*
- [source,esql]
- ----
- TO_RADIANS(v)
- ----
- *Parameters*
- `v`::
- Input value. The input can be a single- or multi-valued column or an expression.
- *Description*
- Converts a number in {wikipedia}/Degree_(angle)[degrees] to
- {wikipedia}/Radian[radians].
- *Supported types*
- The input type must be of a numeric type and result is always `double`.
- *Example*
- [source.merge.styled,esql]
- ----
- include::{esql-specs}/floats.csv-spec[tag=to_radians]
- ----
- [%header.monospaced.styled,format=dsv,separator=|]
- |===
- include::{esql-specs}/floats.csv-spec[tag=to_radians-result]
- |===
|