You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.



sqr(<int expression>) | sqr%(<float expression>)

The SQR() function returns the square root of the argument. The return type must mach the argument type. Only integers and floats are supported. If the argument is negative, the program will emit an ILLEGAL QUANTITY error in runtime.