Atn()

Calculates the value containing the angle whose tangent is the specified number.  The result is a double type.  The example below calculates pi.

Script: 

Sub Main
    Dim MyNumber As Integer
    MyNumber = 1.0
    'Calculate the value of pi
    MsgBox 4.0 * Atn(MyNumber)
End Sub

IDEAScript Language: