# tan(n)

Returns the tangent value of radians value *n*. *n* can be any real numeric value in the range of -1e308 <= *n* <= 1e308. If `null` is passed as an argument, `tan()` returns `null`. This function can only be used in a `foreach` statement.

## Example

```nolang
q = foreach q generate tan(radians) as tangent;
```
