> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Cosine

> Calculate the cosine of an angle in radians or degrees.

The **Cosine** action calculates the cosine of an angle.

## Inputs

| Input          | Type               | Required | Description                                      |
| -------------- | ------------------ | -------- | ------------------------------------------------ |
| **Angle**      | Number             | Yes      | The angle to evaluate.                           |
| **Angle Unit** | Radians or Degrees | Yes      | How to interpret **Angle**. Defaults to radians. |

## Outputs

| Output     | Type   | Description                    |
| ---------- | ------ | ------------------------------ |
| **Result** | Number | The cosine of the input angle. |

For example, `180` degrees returns approximately `-1`, as does `π` radians.
Small floating-point differences are normal.
