Important
|
Deprecated in 5.0. Please use [func-math-cos] instead. |
cos(x) => Float
Calculates cosine from given angle in radians.
x |
Float |
Angle in rad |
Return
Result of cosine for this angle
Example
print(cos(0.5)); //will print 0.877583