DEG( ) |
Convert Radians to Degrees |
DEG(radians[,ERR=stmtref])
radians |
Angle in radians to be converted to degrees. |
stmtref |
Program line number or statement label to which to transfer control. |
Angle in degrees.
Converts angle in radians to degrees.
(The DEG( ) function was added in PxPlus 2020.)
aRad=1
PI=3.141592654
degRad=deg(aRad)
degPI=deg(PI)
print degRad
57.3
print degPI
180