ROUND - round a real value to an integer.

Usage:

i := round(r);

Where:

r
is a real expression.
i
is integer.

Description:

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

See Also:

expl pascal lib trunc

Copyright © 1996, Thinkage Ltd.