Cos (function)
Syntax | Cos (angle) |
Description | Returns a Double representing the cosine of angle. |
Comments | The angle parameter is a Double specifying an angle in radians. |
Example |
This example assigns the cosine of pi/4 radians (45 degrees) to C# and displays its value.
|
See Also | Tan (function); Sin (function); Atn (function). |