SQRT This command will return the square root of a value.
Syntax
    Return Float=SQRT(Value)
Parameters
    Value
Float This value is a float number such as 0.5
Returns
This value is a float number such as 0.5
Description
The value can be an integer or real number. The return value will be a real number.
Example Code
    x1#=0

    y1#=0

    x2#=640

    y2#=480

    dx#=ABS(x1#-x2#)

    dy#=ABS(y1#-y2#)

    dist#=SQRT((dx#*dx#)+(dy#*dy#))

    PRINT dist#

    WAIT KEY
See also
CORE Commands Menu Index