> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/legacy-osl-originos/function/radtodeg.md).

# radtodeg

## Description

Converts an angle from radians to degrees.

## Parameters

* `radians`: The angle in radians to convert

## Returns

Returns the angle converted to degrees.

## Examples

```javascript
// Convert π radians to degrees
angle = radtodeg(3.14159)
// returns approximately 180

// Convert π/2 radians to degrees
angle = radtodeg(1.5708)
// returns approximately 90

// Use with trigonometric functions
direction = radtodeg(direction.atan())
```
