# Clarion Community Help

### Site Tools

cos_return_cosine_.htm
 Navigation:  Language Reference > 13 - Built-in Functions >====== COS (return cosine) ======

 COS Returns cosine. radians A numeric constant, variable or expression for the angle in radians. p is a constant which represents the ratio of the circumference and radius of a circle. There are 2p radians (or 360 degrees) in a circle.

The COS procedure returns the trigonometric cosine of an angle measured in radians. The cosine is the ratio of the length of the angle's adjacent side divided by the length of the hypotenuse.

 Return Data Type: REAL

Example:

PI        EQUATE(3.1415926535898)  !The approx. value of PI