# cos({n})

Returns the cosine value of radians value `{n}`. `{n}` can be any real number in the range of -1e308 <= `{n}` <= 1e308. If `null` is passed as an argument, `cos()` returns `null`.

`cos({n})` takes the following syntax.

```nolang
SELECT COS(N) as ALIAS
FROM DATASET;
```

## Example

This example takes the cosine of 90 degrees.

```nolang
SELECT COS(RADIANS(90)) as cosValue
FROM "Opportunity"
LIMIT 1;
```

| cosValue    |
| ----------- |
| 6.12323e-17 |
