MySQL Tutorial/Math Numeric Functions/TAN — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 12:49, 26 мая 2010
TAN(X) returns the tangent of X, where X is given in radians.
<source lang="sql">
mysql> mysql> SELECT TAN(PI()); +-----------------------+ | TAN(PI()) | +-----------------------+ | -1.2246063538224e-016 | +-----------------------+ 1 row in set (0.00 sec) mysql> mysql> SELECT TAN(PI()+1); +-----------------+ | TAN(PI()+1) | +-----------------+ | 1.5574077246549 | +-----------------+ 1 row in set (0.00 sec)</source>