# System Functions

DEG( ) | Convert Radians to Degrees

## Format

DEG(radians[,ERR=stmtref])

Where:

radians | Angle in radians to be converted to degrees.
stmtref | Program line number or statement label to which to transfer control.

## Returns

Angle in degrees.

## Description

Converts angle in radians to degrees.

(The DEG( ) function was added in PxPlus 2020.)

## Example

aRad=1
PI=3.141592654
degRad=deg(aRad)
degPI=deg(PI)
print degRad
57.3
print degPI
180