Difference between revisions of "MAX()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return maximum value function | Function to return maximum value function | ||
− | |||
==Syntax== | ==Syntax== | ||
MAX(<exp1>,<exp2>) | MAX(<exp1>,<exp2>) | ||
− | |||
==See Also== | ==See Also== | ||
[[AMAX()]], [[AMIN()]], [[IIF()]], [[MIN()]], [[MOD()]] | [[AMAX()]], [[AMIN()]], [[IIF()]], [[MIN()]], [[MOD()]] | ||
− | |||
==Description== | ==Description== | ||
The MAX() function returns the greater of the two expressions <exp1> and <exp2>. These expressions can be of numeric or date data types. | The MAX() function returns the greater of the two expressions <exp1> and <exp2>. These expressions can be of numeric or date data types. | ||
− | |||
==Example== | ==Example== | ||
Line 24: | Line 20: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | |||
[[Category:Numeric Data Functions]] | [[Category:Numeric Data Functions]] |
Latest revision as of 07:26, 23 February 2021
Contents
Purpose
Function to return maximum value function
Syntax
MAX(<exp1>,<exp2>)
See Also
AMAX(), AMIN(), IIF(), MIN(), MOD()
Description
The MAX() function returns the greater of the two expressions <exp1> and <exp2>. These expressions can be of numeric or date data types.
Example
? max(1, 3) 3 set date british ? max(ctod("15/10/1997"), ctod("14/10/1997")) 15/10/1997