up previous next
Fn.Sqrt

Returns the square root of a given value.
Syntax
          
Fn.Sqrt(X:RAT):RAT

          

Description
This function returns the square root of X rounded to the current global accuracy.

Example
Fn.SetAccuracy(20);
R := Fn.Sqrt(2);
Dec(R, 30);

1.4142135623730950488
-------------------------------



See Also