Name

Min

Synopsis

                  
                  Min(number1, number2)

Returns the lesser value of two specified numbers. Example:

<cfset x=10>
<cfset y=20>
   
<cfoutput>#Min(x,y)# is a smaller number than #Max(x,y)#.</cfoutput>

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.