Return a Single specifying the cosine of an angle.
Syntax: x = cos(number)
The required number argument is a Single or valid numeric expression of an angle in radians.
Requires:
Include <libs\fp32ext.bas>
Example:
Dim x as single x=10.0 x=Deg2Rad(10) x=Cos(x) ' x is 0.9848077530