Type Function Library math.* Return value Number Revision 2017.3060 Keywords rad, radian See also math.deg()
Converts to radians an angle given in degrees.
print(math.rad(180)) ----> 3.1415926535898 print(math.rad(1)) ----> 0.017453292519943