RADIANS(number)
RADIANSfunction
takes a number in degrees and converts it to radians.
mysql> SELECT RADIANS(360); +-------------------+ | RADIANS(360) | +-------------------+ | 6.283185307179586 | +-------------------+ 1 row in set (0.00 sec) mysql> mysql> SELECT RADIANS(180); +-------------------+ | RADIANS(180) | +-------------------+ | 3.141592653589793 | +-------------------+ 1 row in set (0.00 sec)
No comments:
Post a Comment