Description
Determines the greater of two numbers.
Returns
The greater of two numbers.
Determines the greater of two numbers.
The greater of two numbers.
Max(number1, number2)
<!--- basic usage ---> <cfoutput>#max(17,19)#</cfoutput> <!--- outputs 19 ---> <!--- example usage ---> <!--- code extract from a game application ---> <cfset highScore = max(highScore, currentGameScore)><!--- whichever is higher becomes the new highScore --->