Quick Search:
 The Oracle COS Function      [Return To Index] Jump to:  

Term: COS

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:


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 |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org