<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Beware the zero!</title>
	<atom:link href="http://the-stickman.com/web-development/beware-the-zero/feed/" rel="self" type="application/rss+xml" />
	<link>http://the-stickman.com/web-development/beware-the-zero/</link>
	<description>Random developer notes</description>
	<lastBuildDate>Wed, 03 Aug 2011 09:35:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Richard Davies</title>
		<link>http://the-stickman.com/web-development/beware-the-zero/comment-page-1/#comment-749</link>
		<dc:creator>Richard Davies</dc:creator>
		<pubDate>Wed, 12 Jul 2006 23:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/web-development/beware-the-zero/#comment-749</guid>
		<description>Thanks for the blog post. I just encountered a similar issue with JavaScript today, and because I remembered reading your blog post a few days ago I was able to quickly identify the problem.

It turns out JS treats numbers like PHP does. I was using the parseInt() function to convert several strings of numbers to integers. It worked fine for &quot;01&quot; - &quot;07&quot;, but returned 0 for &quot;08&quot; and &quot;09&quot;.</description>
		<content:encoded><![CDATA[<p>Thanks for the blog post. I just encountered a similar issue with JavaScript today, and because I remembered reading your blog post a few days ago I was able to quickly identify the problem.</p>
<p>It turns out JS treats numbers like PHP does. I was using the parseInt() function to convert several strings of numbers to integers. It worked fine for &#8220;01&#8243; &#8211; &#8220;07&#8243;, but returned 0 for &#8220;08&#8243; and &#8220;09&#8243;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

