Jump to: navigation, search

PostgreSQL SIN

From w3cyberlearnings

Contents

Postgresql SIN

This function returns the SINE of X, and X is radian.

Syntax SIN

X is radian.

SIN(X);

Example 1


postgres=# SELECT SIN(PI());
         sin          
----------------------
 1.22460635382238e-16
(1 row)

Example 2

postgres=# SELECT SIN(PI()/4);
        sin        
-------------------
 0.707106781186547
(1 row)

Related Links



Navigation
Web
SQL
MISC
References