TAN()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Xpand
Topics on this page:
Overview
Returns the tangent of an angle, specified in radians.
USAGE
TAN(radians)
Argument Name | Description |
---|---|
| The angle specified in radians |
DETAILS
TAN()
is a trigonometric function that returns the tangent of an angle, specified in radians.
A NULL
is returned if the argument is NULL
.
EXAMPLES
SELECT TAN(RADIANS(45));
+------------------+
| TAN(RADIANS(45)) |
+------------------+
| 1 |
+------------------+
SELECT TAN(RADIANS(30));
+------------------+
| TAN(RADIANS(30)) |
+------------------+
| 0.57735026918963 |
+------------------+