Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

This is an old revision of the document!


COS()

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