TRUNC returns an integer value that is the truncated
value of
x. If
x is positive or 0, this is the largest
integer value less than or equal to
x. If
x is negative,
this is the smallest integer value greater than or equal to
x.
>>-TRUNC(x)----------------------------------------------------><
- x
- Real expression.
The base, mode, scale, and precision of the result match those
of
x. E
xcept when x is fixed-point with precision
(
p,q), the precision of the result is given by:
(min(N,max(p-q+1,1)),0)
where N is the maximum number of digits allowed.