User Tools

Site Tools


sqrt_return_square_root_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== SQRT (return square root) ====== Previous pageReturn to chapter overviewNext page

SQRT(expression)

blk2blue.jpg

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

Example:

 Length = SQRT(X^2 + Y^2) !Find the distance from 0,0 to x,y (pythagorean theorem)
sqrt_return_square_root_.htm.txt · Last modified: 2023/09/16 07:22 by carlbarnes