i := round(r);
The "round" function rounds a real value to its integer part. For example,
round(3.3) = 3 round(3.7) = 4 round(-3.3) = -3 round(-3.7) = -4
expl pascal lib trunc
Copyright © 1996, Thinkage Ltd.