min

Determines the lesser of two numbers.

min(number1, number2) → returns Numeric

min Argument Reference

number1
Required

number2
Required

Examples sample code invoking the min function


Tag Example

<cfset local.myNum1 = 4 /> 
 <cfset local.myNum2 = 9 /> 
 The minimum of the two numbers is <cfoutput>#min(local.myNum1, local.myNum2)#</cfoutput> 
  

Fork me on GitHub