# Degrees

## What is the Degrees Function?

The Degrees function in Power Fx is used to convert an angle from radians to degrees. The syntax for the Degrees function is as follows:

``` Degrees(number) ```

where `number` is the angle in radians that you want to convert to degrees.

## How to Use the Degrees Function in Power Apps

To use the Degrees function in Power Apps, follow these steps:

1. Open the app that you want to use the Degrees function in.

2. In the formula bar, type `Degrees(` and then specify the angle in radians that you want to convert to degrees. For example, if you want to convert an angle of 1.5 radians to degrees, you would type `Degrees(1.5)`.

3. Press Enter to evaluate the formula. The result will be the angle in degrees.

## Examples

Let’s look at a few examples to see how the Degrees function works in practice.

### Example 1: Converting 1 Radian to Degrees

To convert 1 radian to degrees, we would use the following formula:

``` Degrees(1) ```

The result of this formula is 57.29577951308232 degrees.

### Example 2: Converting Multiple Angles to Degrees

Suppose we have a table of angles in radians and we want to convert them to degrees. We can use the Degrees function in a ForAll formula to accomplish this. Here’s an example formula:

``` ForAll(Table1, Patch(Table1, {Degrees: Degrees(Radians)})) ```

This formula loops through each record in `Table1`, calculates the degrees equivalent of the angle in the `Radians` column using the Degrees function, and then patches the result back into the table in a new column called `Degrees`.

The Degrees function in Power Fx is a simple but powerful tool for converting angles from radians to degrees. By following the steps outlined in this article, you should now be able to use the Degrees function in your Power Apps with ease.