This command will return the square root of a value.
Return Float=SQRT(Value)
Value
Float This value is a float number such as 0.5
This value is a float number such as 0.5
The value can be an integer or real number. The return value will be a real number.
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
CORE Commands Menu Index