<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6.1 - htmldocs - funct121.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-24T23:47:46</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#36177" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#12252" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#12250" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#12239" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#4596" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#2385" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#1259" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#36177">
		<title>coldfusion/6.1/htmldocs/funct121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#36177</link>
		<description>This is pedantic, but it should be &quot;Calculates the closest integer that is smaller than or equal to number.&quot; Int(3) = 3, not 2. :)</description>
		<dc:creator>s_bywater</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-06-30T14:11:45</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#12252">
		<title>coldfusion/6.1/htmldocs/funct121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#12252</link>
		<description>I should also have noted with respect to numbers that are too large to be represented internally as numeric integers, In ColdFusion MX 6.1, the Int function returns a value, but it can be invalid. For example the following code has numbers consisting of 13 digit 9s, which ColdFusion can represent internally as a string or convert to a real number, but cannot represent internally as a numeric integer: &lt;br /&gt;&lt;br /&gt;&lt;cfoutput&gt;&lt;br /&gt;9999999999999:  #int(9999999999999)#&lt;br&gt;&lt;br /&gt;-9999999999999:  #int(-9999999999999)#&lt;br&gt;&lt;br /&gt;&lt;/cfoutput&gt;&lt;br /&gt;&lt;br /&gt;This code displays:&lt;br /&gt;9999999999999: 1E+013&lt;br /&gt;-9999999999999: -1E+013&lt;br /&gt;Which means that ColdFusion actually rounded up by one!&lt;br /&gt;This behavior is consistent with ColdFusion 5.0 behavior.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-04-02T07:36:33</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#12250">
		<title>coldfusion/6.1/htmldocs/funct121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#12250</link>
		<description>As indicated in the Oct 2, 2003 comment, this function is really a floor function.&lt;br&gt;It returns the largest integer that is smaller than the parameter.&lt;br&gt;Therefore it returns 3 for 3.3 or 3.7 and -4 for -3.3 and -3.7&lt;br&gt;Future versions of this page will state this clearly.</description>
		<dc:creator>halL</dc:creator>
		<dc:type>1 1</dc:type>
		<dc:date>2004-04-02T07:21:03</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#12239">
		<title>coldfusion/6.1/htmldocs/funct121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#12239</link>
		<description>Note: this function's handling of negative numbers is incorrect.  It should return the integer portion of the number (simply casting it as either an INT or a LONG as appropriate), and that is all.&lt;br /&gt;The integer portion of -3.7 is -3, not -4.</description>
		<dc:creator>Adam Cameron</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-04-01T16:50:40</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#4596">
		<title>coldfusion/6.1/htmldocs/funct121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#4596</link>
		<description>Responding to DracTK,&lt;br /&gt;&lt;br /&gt;I tried int(gettickcount()) and as far as I can tell it's working properly. The number returned by gettickcount() is an integer already, &quot;integer&quot; meaning mathematical integer. As far as the integer data type, that is only 4 bytes, or 32 bits, and we all know the biggest signed number that can be represented in 4 bytes is 2^32-1, or 4294967295. gettickcount() returned something two orders of magnitude higher than this number. And the int() function still works as intended because it turns that large number into a data-type akin to floating point. So it's still a mathematical integer, but just represented differently. (100 is an integer, and I would *think* that 1e2, 1.0e2, and 1.000000e2 are all integers as well since they mean the same thing)</description>
		<dc:creator>PsG-1b</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-12-15T16:08:59</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#2385">
		<title>coldfusion/6.1/htmldocs/funct121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#2385</link>
		<description>This function is more accurately the Floor() function rather than the Int() function. So, for example, Int(2.5) = 2.0 and not 2. This is an important distinction if you want to use this number to index an array or query as an attempt to do so throws an exception.</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-10-02T13:12:04</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#1259">
		<title>coldfusion/6.1/htmldocs/funct121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct121.htm#1259</link>
		<description>This function description is misleading, 
it doesn't convert ALL numbers to the 
first smallest int. It only
converts numbers when the function argument is within the
range of allowed integers. For example try this
int(GetTickCount()). Int should convert very large number that getTickCount() produces to
integer, but it does not. I suggest that either the 
description of this function be changed or this function's behavior be 
modified to fit its description.</description>
		<dc:creator>DracTK</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-08-13T08:35:40</dc:date>
	</item>
	</rdf:RDF>

