This floor(d) function will find the largest integer less than or equal to d.
#include <maths> var a:=floor(10.5); var y:=floor(a);
Since: Version 0.41b