Jump to: navigation, search

PostgreSQL TAN

From w3cyberlearnings

Contents

Postgresql TAN

This function returns the tangent of X and X is radian unit.

Syntax TAN

X is a radian unit.

TAN(X);

Example 1

postgres=# SELECT TAN(PI()/4);
 tan 
-----
   1
(1 row)


Example 2


postgres=# SELECT TAN(PI()/2);
         tan          
----------------------
 1.63317787283838e+16
(1 row)

Related Links



Navigation
Web
SQL
MISC
References