[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Sqrt                     Returns the Square Root of a Value

 Sqrt(Val : Real) : Real;
 Sqrt(Val : Integer) : Real;

    Returns the square root of Val. The value returned is always a real
    value, regardless of the type of Val.

             Val    An integer or real value (constant, variable, function
                    call, or expression).

         Limits:    if Val < 0, runtime error 3 ($3) occurs.

  -------------------------------- Example ---------------------------------

           X := Sqrt(82.81);        { X = 9.1 }

See Also: Sqr
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson