{ Frameless }

cos($arg)

The cos(num) return the cosine of a number.

Arguments

ArgumentType
$argnumeric
Return valuenumeric

Examples

cos(pi() * 2)1
cos(pi())-1
cos(0)1