Javascript Cos() Function

The cos() function of math object return cosine of a given number. Use it for example to get cosine of a number.

Syntax

Javascript Cos() Function Example