FLOORZ Function
Returns the largest integer that is less than or
equal to the argument, using zero fuzzing.
Syntax
Required Argument
argument
is a numeric constant,
variable, or expression.
Comparisons
Unlike the FLOOR function,
the FLOORZ function uses zero fuzzing. If the argument is within 1E12
of an integer, the FLOOR function fuzzes the result to be equal to
that integer. The FLOORZ function does not fuzz the result. Therefore,
with the FLOORZ function you might get unexpected results.
Example
The following SAS statements
produce these results.


var1=2.1;
a=floorz(var1);
put a;


var2=2.4;
b=floorz(var2);
put b;




var6=(1.1.e13);
d=floorz(11.e13);
put d;




f=floorz(223.456);
put f;

