MySQL tutorial: TAN [EN]
top of page
CerebroSQL

MySQL: 

TAN

Syntax:
TAN(X)

Returns the tangent of X, where X is given in radians.

Example

mysql> SELECT TAN(PI());
-> -1.2246063538224e-16
mysql> SELECT TAN(PI()+1);
-> 1.5574077246549

bottom of page