input|ceil( value )
Name | Type | Description | Required |
---|---|---|---|
value | number | Value to be rounded up. | Only if the input parameter is omitted. |
This operator returns the next highest integer value by rounding up either the input or the "value" parameter. If both are provided, it is the "value" parameter that will be used.
{1.5|ceil}
or
{ceil( 1.5 )}
The following output will be produced: "2".
{5.5|ceil( 8.2 )}
The following output will be produced: "9".
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.