max( value1, value2 [,...] )
Name | Type | Description | Required |
---|---|---|---|
value1 | any | A value that should be evaluated. | Yes. |
value2 | any | Another value that should be evaluated. | Yes. |
This operator returns the largest value of all parameters. The input parameter is ignored.
{max( 2, 3, 1 )}
The following output will be produced: "3".
{max( array( 1, 2 ), array( 1, 2, 3 ) )}
The following array will be returned: ( 1, 2, 3 ).
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.