Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
COS()
Since version 2.0
Syntax:
cos%(<float expression>)
The COS()
function returns the cosine value of the given numeric expression. The function only accepts a float as its single argument and can only return a float.
Example:
print cos%(0.0) rem -- the above outputs 1