Skip to main content
Version: Next

cos

cos ( number : number ) : number

ParameterTypeDescription
numbernumberNumber, in radians, whose cosine is returned
ResultnumberCosine of number

Description

cos returns the cosine of number, where number is expressed in radians.

note

Qodly provides the predefined constants Pi, Degree, and Radian. Pi returns the Pi number (3.14159...), Degree returns one degree expressed in radians (0.01745...), and Radian returns one radian expressed in degrees (57.29577...).

See also

arctan
sin
tan