input|div( value1 [, value2 [, ...] ] )
Name | Type | Description | Required |
---|---|---|---|
value1 | number | Dividend or divisor. | Yes. |
value2 | number | Dividend. | Only if the input parameter is omitted. |
This operator divides a the first parameter (can be the input parameter) by the rest of the parameters.
{10|div( 5 )}
or
{div( 10, 5 )}
The following output will be produced: "2".
{12|div( 3, 2 )}
or
{div( 12, 3, 2 )}
The following output will be produced: "2".
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.