max
Summary
Returns the largest value of all parameters.Usage
max( value1, value2 [,...] )
Parameters
Name | Type | Description | Required |
---|---|---|---|
value1 | any | A value that should be evaluated. | Yes. |
value2 | any | Another value that should be evaluated. | Yes. |
Returns
The largest value of all parameters.Description
This operator returns the largest value of all parameters. The input parameter is ignored.
Examples
Example 1
{max( 2, 3, 1 )}
The following output will be produced: "3".
Example 2
{max( array( 1, 2 ), array( 1, 2, 3 ) )}
The following array will be returned: ( 1, 2, 3 ).
Balazs Halasy (05/02/2004 10:47 am)
Balazs Halasy (04/05/2005 2:17 pm)
Comments
There are no comments.