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

> Reference material for DEGREES function

# DEGREES

Converts a value in radians to degrees.

## Syntax

```sql theme={"theme":{"light":"css-variables","dark":"css-variables"}}
DEGREES(<value>)
```

## Parameters

| Parameter | Description                                        | Supported input types |
| :-------- | :------------------------------------------------- | :-------------------- |
| `<value>` | The value to be converted to degrees from radians. | `DOUBLE PRECISION`    |

## Return Types

`DEGREES` returns a value of type `DOUBLE PRECISION`.

## Example

The following example converts the value `3.14` in radians to degrees:

<div className="query-window">
  ```
  SELECT degrees(3.14) as result;
  ```

  | result <span>double</span> |
  | :------------------------- |
  | 179.9087476710785          |

  <p><span>Rows: 1</span><span>Execution time: 5.99ms</span></p>
</div>
