Skip to main content

Sqr()

This function returns the square root of a number.  The return value is a double type.

Script

Sub Main
    Dim MyNumber As Integer
    MyNumber = 25
    MsgBox Sqr(MyNumber) ' returns 5
End Sub

IDEAScript Language