You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

ceil()

Usage

ceil(val)

Description
Returns the given value, rounded up to the nearest integer. This method tries to convert its parameter objects into numerical values, i.e. you can use strings as arguments.

Example

${ceil(5.8)}

results in

6.0

Search results for "ceil()"

ceil()

Returns the given value, rounded up to the nearest integer. This method tries to convert its parameter objects into numerical values, i.e. you can use strings as arguments.

ceil(val)