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