<?xml version="1.0"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Decaflon Thread: 1 =&gt; "first" or "one" in PHP?</title>
<link>http://decaflon.com/notes/</link>
<description>Decaflon Thread: 1 =&gt; "first" or "one" in PHP?</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 05:40:28 +0000</pubDate>

<item>
<title>1 =&gt; "first" or "one" in PHP?</title>
<link>http://decaflon.com/programming/notes/14663/p/1/#response-116875</link>
<pubDate>Sun, 01 Jun 2008 07:03:40</pubDate>
<dc:creator>alexsuraci</dc:creator>
<guid isPermaLink="false">116875</guid>
<description>&lt;p&gt;A couple people pointed me &lt;a href=&quot;http://www.phpclasses.org/browse/file/3745.html&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://fundisom.com/phpsnippets/snip/string_handling/number_to_word/&quot;&gt;here&lt;/a&gt;. I've since gone with num1, num2, etc., for the sake of simplicity, but there're the solutions.&lt;/p&gt;
&lt;p&gt;Oli: That &quot;infinite array&quot; wasn't a serious suggestion. ;)
&lt;/p&gt;</description>
</item>
<item>
<title>1 =&gt; "first" or "one" in PHP?</title>
<link>http://decaflon.com/programming/notes/14663/p/1/#response-116873</link>
<pubDate>Sun, 01 Jun 2008 04:19:58</pubDate>
<dc:creator>Oli</dc:creator>
<guid isPermaLink="false">116873</guid>
<description>&lt;p&gt;An infinite array would be thoroughly unnecessary as numerical nomenclature does adhere to programmable rules.&lt;/p&gt;
&lt;p&gt;Googling &quot;convert number to word php&quot; will show you the way. Knock off the php for some JS methods of doing it.
&lt;/p&gt;</description>
</item>
<item>
<title>1 =&gt; "first" or "one" in PHP?</title>
<link>http://decaflon.com/programming/notes/14663/p/1/#response-116872</link>
<pubDate>Sun, 01 Jun 2008 03:04:18</pubDate>
<dc:creator>alexsuraci</dc:creator>
<guid isPermaLink="false">116872</guid>
<description>&lt;p&gt;(I can't seem to edit notes. Responses are fine, but not the first note.)&lt;/p&gt;
&lt;p&gt;The reason I'm asking is to use it for CSS classes. Although, I could probably just use &quot;num1&quot;, &quot;num2&quot;, and so on. Still interested in a response to this though.
&lt;/p&gt;</description>
</item>
<item>
<title>1 =&gt; "first" or "one" in PHP?</title>
<link>http://decaflon.com/programming/notes/14663/p/1/#response-116871</link>
<pubDate>Sun, 01 Jun 2008 03:02:29</pubDate>
<dc:creator>alexsuraci</dc:creator>
<guid isPermaLink="false">116871</guid>
<description>&lt;p&gt;Does anyone know a way to convert a number to its text form without using an infinitely long array? I've looked high and low and can't find a single thing in Google. It seems like it'd be pretty difficult to make a trustworthy algorithm for.
&lt;/p&gt;</description>
</item>

</channel>
</rss>

