## TO_RADIANS

The `TO_RADIANS` function in ES|QL is used to convert a number in degrees to radians.

### Syntax

`TO_RADIANS(number)`

#### Parameters

- `number`: This is the input value. It can be a single or multi-valued column or an expression.

### Examples

Here are a couple of examples of how you can use the `TO_RADIANS` function in ES|QL:

```esql
ROW deg = [90.0, 180.0, 270.0]
| EVAL rad = TO_RADIANS(deg)
```

In this example, the `TO_RADIANS` function is used to convert an array of degree values into radians.

```esql
ROW deg = 45
| EVAL rad = TO_RADIANS(deg)
```

In this example, the `TO_RADIANS` function is used to convert a single degree value into radians.