NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)

The ceiling() function rounds a supplied number up to the nearest whole number. For example, the expression «ceiling(33.9) » returns 34 , and «ceiling(-33.9) » returns -33 .

Argument

Data Type

Meaning

value

number

The supplied value

Result

number

The result of rounding $value up to the next highest integer. The result has the same primitive data type as the supplied value

Категории