Calculates the closest integer that is smaller than number.
Int(number)
Parameter | Description |
---|---|
number |
Real number to round down to an integer |
<h3>Int Example</h3> <p>Int returns the closest integer smaller than a number. <p>Int(11.7) : <cfoutput>#Int(11.7)#</cfoutput> <p>Int(-11.7) : <cfoutput>#Int(-11.7)#</cfoutput> <p>Int(0) : <cfoutput>#Int(0)#</cfoutput>