Whatever message this page gives is out now! Go check it out!

Int

Last update:
May 18, 2026
Note:
Adobe recommends that you use the Floor function, instead of the Int function, in all new applications.

Description

Calculates the closest integer that is smaller than number. For example, it returns 3 for Int(3.3) and for Int(3.7); it returns -4 for Int(-3.3) and for Int(-3.7)

Returns

An integer, as a string.

Category

Function syntax

Int(number)

See also

Ceiling, Fix, FloorRound, ToBinary

Parameters

Parameter
Description
number
Real number to round down to an integer.

Example

<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>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page