up previous next
Fn.RoundN

Round a number to a desired accuracy.
Syntax
          
Fn.RoundN(X:RAT,Acc:INT):RAT

          

Description
This function rounds the given value X to the given accuracy Acc.

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

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



See Also