(PHP 3,PHP 4,PHP 5)
Rounding the upper limit in one way
explain
Upper floating limit (floating value)
Returns the next integer not less than value. If there is a fractional part of value, it will be placed in one position. The type returned by ceil () is still float, because the range of float values is usually larger than integer.
Example 1. Example of Ceil ()
& lt? Server-side programming language (abbreviation of professional hypertext preprocessor)
Upper echo limit (4.3); // 5
Echo cells (9.999); // 10
& gt
See floor () and circle ().