up previous next
Fn.Round

Round a number.
Syntax
          
Fn.Round(X:RAT):RAT

          

Description
This function rounds the given value X to the current global accuracy.

Example
Fn.SetAccuracy(3);
R := Fn.RoundN(3.14159);
Dec(R, 10);

3.142
-------------------------------



See Also