cos()

This function returns the cosine of the given angle expressed in radians.


Bash
 cos(number) #Output: Number


Examples

Parser expression

Descriptio

Bash
cos(0)

This example returns:

1.0

Bash
cos(1)

This example returns:

0.5403023058681398


Additional information

Parameters used in this function

Parameter

Input (data type)

Description

number

number

Any given number or numeric field code.

Output

This function returns a number

Check out sin() to calculate the sine of a given value.


📚 Use cases and examples