---
title: "degrees"
canonical: "https://support.appfire.com/space/PSJ/15488747/degrees"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | degrees(radians) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Converts radians to degrees.

Converts radians to degrees.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| radians | Number | Yes | Angle in radians you want to convert. |

## Return Type

**Number**

## Example

```
number a = degrees(pi());
print("a= " + a);
```

Prints: a= 180;

## See also

> Macro (contentbylabel)