DEGREES
An angle in radians, in degrees.
Group: Math. Compatible with DAX.
Syntax
DEGREES ( <angle> )
| Parameter | Type | Description |
|---|---|---|
angle | Number | An angle in radians. |
Returns
Number. The same angle in degrees.
Remarks
- It multiplies by 180 / pi.
RADIANSgoes the other way. - Use it to read the angle that
ACOS,ASINorATANgive back:DEGREES ( ATAN ( 1 ) )is 45. - A blank gives BLANK.
Examples
Radians to degrees
EVALUATE
ROW (
"Pi", DEGREES ( PI () ),
"One radian", DEGREES ( 1 ),
"ATAN ( 1 )", DEGREES ( ATAN ( 1 ) )
)
| Pi | One radian | ATAN ( 1 ) |
|---|---|---|
| 180 | 57.2957795130823 | 45 |