RADIANS()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Xpand
Topics on this page:
Overview
Returns a value converted from degrees to radians.
USAGE
RADIANS(degrees)
Argument Name | Description |
---|---|
| The angle measured in degrees |
DETAILS
RADIANS()
is a mathematical function that returns the degrees
argument converted into radians.
A NULL
is returned if the argument is NULL
.
EXAMPLES
SELECT RADIANS(60);
+-----------------+
| RADIANS(60) |
+-----------------+
| 1.0471975511966 |
+-----------------+
SELECT RADIANS(180);
+-----------------+
| RADIANS(180) |
+-----------------+
| 3.1415926535898 |
+-----------------+