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