Cos                                                                                                           Function

 

COS(theAngle as float)

 

Description

Returns a float with the cosine of the arithmetic expression argument. The angle must be expressed in radians.

 

Example

y=DegToRadians(180)

x=Cos(y) 'will result in the cosine of 180 degrees