Navigation bar
  Start Previous page
 60 of 283 
Next page End 55 56 57 58 59 60 61 62 63 64 65  

51
Cos
Type
Function returning Single
Invocation
Cos(arg)
Parameter
Method
Type
Description
arg
ByVal
Single
The angle, in radians, of which the cosine will be computed.
Discussion
The return value will be the cosine of the supplied value, ranging from –1.0 to 1.0.
Example
Const pi as Single = 3.14159
Dim val as Single
val = Cos(pi)
' result is –1.0
See Also
Previous page Top Next page