The Square Root operator returns the square root of a value. Square Root can be used in both variable and constant expressions. When used with variable expressions or integer constant expressions, Square Root returns the 32-bit truncated integer result. When used with floating-point constant expressions, Square Root returns the 32-bit single-precision floating-point result. Example:
Code Block |
---|
X := ^^Y |
Square Root becomes an assignment operator when it is the sole operator to the left of a variable on a line by itself. For example:
...