Skip to main content

Cos()

Calculates the cosine of a specified angle.  It returns a double value.

Script

Sub Main
    Dim Angle As Integer
    Angle = 15
    MsgBox Cos(Angle)
End Sub

IDEAScript Language