Finds the greater of two numbers.
Numeric
Max(number1, number2)
<cfscript>
num1=-(-50);
num2=-50;
WriteOutput("The maximum of the two numbers is: " & Max(num1,num2));
</cfscript>
The maximum of the two numbers is: 50
Sign in to your account