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.
This article is a stub.
Please help enhance the Delphi Programming Wiki by expanding it.
see the VCL Documentation Guidelines for an overview on doc pages



With this function you can insert a number of the type Real, which is then rounded UP. It's not depending on the numbers after the point, it's always rounded up, as long as it isn't x.0

Technical CommentsEdit

(Known issues / Documentation clarifications / Things to be aware of)


Ceil(-2.8) // result: -2
Ceil( 2.8) // result:  3
Ceil(-1.0) // result: -1


See AlsoEdit

(Please provide links to items that are specifically related to this item.)

User Comments/TipsEdit

(Please leave your name with your comment.)

Community content is available under CC-BY-SA unless otherwise noted.