Quick Search:
CODE
Oracle PL/SQL Code Library
JOBS
Find Or Post Oracle Jobs
FORUM
Oracle Discussion & Chat
 The Oracle PL/SQL SIN Function      [Return To Index] Jump to:  
  Looking for the original pages? (formerly called "Morgan's Library") You can find them here.

Term: SIN

Definition:
In Oracle PL/SQL, SIN is a built in function used to determine sine of a numeric input. Its mathematical equivalent is SIN(N), where N is the angle in radian format.

Example Syntax:

SIN(radian)


Example Usage:

The SQL example below calculates the sine of 45 degrees. Note that the representation of 45 degrees is in radians.

SQL> SELECT SIN(45 * 3.1412857/180) FROM DUAL;

SIN(45*3.1412857/180)
---------------------
.707052517



Related Links:

Related Code Snippets:
 
Home      :      Code Library      :      Sponsors      :      Privacy      :      Terms of Use      :      Contact Us 208 users online    © 2009 psoug.org
PSOUG LOGIN
Username: 
Password: 
Forgot your password?