UK[si:l] US[si:l]

vt. Install the ceiling, install the grid board in the ship

Third person singular: ceils Present participle: ceiling Past tense: ceiled Past Participle: ceiling

php ceil() function syntax

How to use the ceil() function?

php The function of the ceil() function is to round up to the nearest integer. The syntax is ceil(number), which means to return the next integer that is not less than the parameter X. If there is no decimal, return the parameter X, if there is a decimal part, discard the decimal part and advance it by one place. Note that it is not rounded. When the parameter is a string string, 0 is returned.

Function:The function of ceil() function is to round up to the nearest integer

Syntax:ceil(number)

Parameters:

Parameters Description
number Must be a number

Description:Returns the next integer that is not less than parameter X. If there is no decimal, returns parameter X. If If there is a decimal part, the decimal part will be discarded and moved forward one place. Note that it is not rounded. When the parameter is a string string, 0

will be returned.

php ceil() function example


Run instance»

Click the "Run instance" button to view the online instance

Output:

101*****100*****-99*****0