|Navigation: Language Reference > 13 - Built-in Functions >====== SQRT (return square root) ======|
|SQRT||Returns square root.|
|expression||A numeric constant, variable, or expression. If the value of the expression is less than zero, the return value is zero.|
The SQRT procedure returns the square root of the expression. If X represents any positive real number, the square root of X is a number that, when multiplied by itself, produces a product equal to X.
Return Data Type: REAL
Length = SQRT(X^2 + Y^2) !Find the distance from 0,0 to x,y (pythagorean theorem)