# Radian-Degree Converter

## Overview

![The Radian-Degree Converter Node](https://3009747178-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-1330240639%2Fuploads%2Fgit-blob-74710ff11040a5ff77199d965ec45fa996307f44%2Fradian-degree-converter-node.png?alt=media)

**Radian-Degree Converter** takes a single **Float** value, representing an angle, in degrees (°) or radians (rad), and converts it from one unit to the other.

The equation used by the **Node** is determined by the `Mode` **Attribute**. The equations are:

* `Radian_to_Degree`: *D* = *R* x 180/π.
* `Degree_to_Radian`: *R* = *D* x π/180,

where *R* is an angle in radians (rad) and *D* is an angle in degrees (°).

## Attributes

| Attribute       | Type          | Description                                                                      |
| --------------- | ------------- | -------------------------------------------------------------------------------- |
| `Mode`          | **Drop-down** | Determines which conversion equation is used.                                    |
| `Default Value` | **Float**     | The default value of `Input`, if no value is provided in the `Input` **Socket**. |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard input **Pulse**, to trigger the execution of the **Node**. |
| `Input`           | **Float** | The angle to convert.                                                 |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard output **Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Output`           | **Float** | The converted value.                                                                                                                   |

## See Also

* [**Trigonometry**](https://docs.incari.com/incari-studio/2021.1/toolbox/math/trigonometry)

## External Links

* [*Trigonometry*](https://www.khanacademy.org/math/trigonometry) on Khan Academy.
* [*Radians*](https://www.mathsisfun.com/geometry/radians.html) on Maths is Fun.
* [*Degrees*](https://www.mathsisfun.com/geometry/degrees.html) on Maths is Fun.
