.BG
.VE $Header: /usr3/s/current/s/.help/RCS/ceiling,v 1.2 83/12/30 19:25:11 rab Exp $
.FN ceiling
.FN floor
.FN trunc
.TL
ceiling floor trunc: Integer Values
.CS
ceiling(x)
floor(x)
trunc(x)
.PP
.AG x
numeric structure.  Missing values (NAs) are allowed.
.RT
structure of same mode as `x'.  If `x' is an integer vector,
the functions have no effect and `x' is returned.  `trunc'
truncates fractions toward zero, e.g., `trunc(1.5)' is 1.,
and `trunc(\-1.5) is `\-1'.  `floor' is largest integer <= `x'.
`ceiling' is smallest integer >= `x'.
.KW basic*
.KW rounding
.KW math
.WR
