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

Term: COS

Definition:
The Oracle COS function calculates the cosine of n (an angle expressed in radians). This function takes as an argument any numeric datatype (or any nonnumeric datatype that can be implicitly converted to a numeric datatype).

If the argument is BINARY_FLOAT, then the function returns BINARY_DOUBLE. Otherwise the function returns the same numeric datatype as the argument.

Example Syntax:

COS(num);


num is the number used to calculate the cosine.

Example Usage:

COS(38) - returns 0.9550736440472949

COS(-27.2) - returns -0.4763180482150152



Related Links:

Related Code Snippets:
  • PREDICTION_COST - PREDICTION_COST is for use with any classification model created by the DBMS_DAT...
 
Home      :      Code Library      :      Sponsors      :      Privacy      :      Terms of Use      :      Contact Us 231 users online    © 2009 psoug.org
PSOUG LOGIN
Username: 
Password: 
Forgot your password?