cos()
Returns the cosine function.
Syntax
cos(
number)
Parameters
Name | Type | Required | Description |
---|---|---|---|
number | real | ✓ | The value for which to calculate the cosine. |
Returns
The cosine of number.
Example
print cos(1)
Results
print_0 |
---|
0.54030230586813977 |