# Futurebasic/Language/Reference/cos

(Redirected from Futurebasic/language/reference/cos)

# COS function edit

## COS edit

### Function edit

✔ Appearance ✔ Standard ✔ Console

### Syntax edit

*theCosine#* = **COS**(*expr*)

### Description edit

Returns the cosine of

, where *expr*

is given in radians. The returned value will be in the range -1 to +1. *expr*

always returns a double-precision result.
**COS**

**Note:**

To find the cosine of an angle `degAngle`

which is given in degrees, use the following:

` theCosine# = `

**COS**(degAngle * pi# / 180)

where `pi#`

equals 3.14159265359