Home Privacy Policy Feedback Link to us Site Map Forums

Oracle/PLSQL: Cos Function


In Oracle/PLSQL, the cos function returns the cosine of a number.

The syntax for the cos function is:

cos( number )

number is the number used to calculate the cosine.


Applies To:

  • Oracle 8i, Oracle 9i, Oracle 10g, Oracle 11g

For example:

cos(0.2) would return 0.980066577841242
cos(0.35) would return 0.939372712847379
cos(-3.15) would return -0.999964658471342
cos(200) would return 0.487187675007006