expr function that returns the greatest double with zero fractional part that is not greater than the argument.
% expr floor(1.0) 1.0 % expr floor(1.5) 1.0 % expr floor(-0.5) -1.0