Ceil ViewHelper <f:ceil> 

The CeilViewHelper rounds up a float value to the next integer. The ViewHelper mimics PHP's ceil() function.

Examples 

Value argument 

<f:ceil value="123.456" />
Copied!
124
Copied!

Tag content as value 

<f:ceil>123.456</f:ceil>
Copied!
124
Copied!

Go to the source code of this ViewHelper: CeilViewHelper.php (GitHub).

Arguments

The following arguments are available for the ceil ViewHelper:

value

value
Type
float
The number that should be rounded up