| Contents > CFML Reference > ColdFusion Functions > Int |
|
|
|
|
||
Calculates the closest integer that is smaller than number.
An integer, as a string.
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>
|
|
||
| Contents > CFML Reference > ColdFusion Functions > Int |
|
|
ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm
Comments
DracTK said on Aug 13, 2003 at 8:35 AM : No screen name said on Oct 2, 2003 at 1:12 PM : PsG-1b said on Dec 15, 2003 at 4:08 PM : Adam Cameron said on Apr 1, 2004 at 4:50 PM :