div
Summary
Divides input or first parameter by the remaining parameters.Usage
input|div( value1 [, value2 [, ...] ] )
Parameters
Name | Type | Description | Required |
---|---|---|---|
value1 | number | Dividend or divisor. | Yes. |
value2 | number | Dividend. | Only if the input parameter is omitted. |
Returns
The result of the division.Description
This operator divides a the first parameter (can be the input parameter) by the rest of the parameters.
Examples
Example 1
{10|div( 5 )}
or
{div( 10, 5 )}
The following output will be produced: "2".
Example 2
{12|div( 3, 2 )}
or
{div( 12, 3, 2 )}
The following output will be produced: "2".
Balazs Halasy (05/02/2004 10:46 am)
Balazs Halasy (04/05/2005 2:13 pm)
Comments
There are no comments.