RAD( ) |
Convert Degrees to Radians |
RAD(degrees[,ERR=stmtref])
degrees |
Angle in degrees to be converted to radians. |
stmtref |
Program line number or statement label to which to transfer control. |
Angle in radians.
Converts angle in degrees to radians.
(The RAD( ) function was added in PxPlus 2020.)
aDeg=1
halfCircle=180
radDeg=rad(aDeg)
PI=rad(halfCircle)
print radDeg
0.02
print PI
3.14