This page is intended as a supplement to the official documentation on Delphi programming. CodeGear is in the process of putting the Delphi documentation on the Web. Once they have done so, this page will link to the relevant page in the official documentation.
see the VCL Documentation Guidelines for an overview on doc pages
Unit[]
Description[]
With this function you can insert a number of the type Real, which is then rounded DOWN. It's not depending on the numbers after the point, it's always rounded down, as long as it isn't x.0
Technical Comments[]
(Known issues / Documentation clarifications / Things to be aware of)
Examples[]
Floor(-2.8); // result: -3 Floor( 2.8); // result: 2 Floor(-1.0); // result: -1
See Also[]
(Please provide links to items specifically related to this item.)
User Comments/Tips[]
(Please leave your name with your comment.)