Gamma> floor(1.2);
1
Gamma> floor(1.9);
1
Gamma> floor(-1.2);
-2
Gamma> floor(-1.9);
-2
Gamma>
See the Plant Model section of the PID Emulator chapter in the Cogent Tools Demo and Tutorials book for an example of this function used in context.