# tan proc

Source: https://ref.dm-lang.org/proc/tan
Added in BYOND 513.

### Format
> `tan(X)`

### Returns
> The tangent of X, where X is in degrees.

```dm /tan/
mob/verb/test()
   usr << tan(0)  // 0
   usr << tan(45) // 1
   usr << tan(90) // infinity (or close enough)
```

### See also
- [arctan proc](https://ref.dm-lang.org/proc/arctan.md)
- [cos proc](https://ref.dm-lang.org/proc/cos.md)
- [sin proc](https://ref.dm-lang.org/proc/sin.md)
- [turn proc](https://ref.dm-lang.org/proc/turn/index.md)
