Type Function Library math.* Return value Number Revision Release 2024.3703 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