<?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: PHP Round Up to Nearest Hundred Function</title>
	<atom:link href="http://eligeske.com/php/php-round-up-to-nearest-hundred-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://eligeske.com/php/php-round-up-to-nearest-hundred-function/</link>
	<description>My day to day journey through the world wide web.</description>
	<lastBuildDate>Wed, 14 Jul 2010 14:34:15 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: eligeske</title>
		<link>http://eligeske.com/php/php-round-up-to-nearest-hundred-function/comment-page-1/#comment-34</link>
		<dc:creator>eligeske</dc:creator>
		<pubDate>Thu, 17 Dec 2009 00:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://eligeske.com/?p=97#comment-34</guid>
		<description>Thanks Dan! Nice way to NOT over complicate things.   I am updating the post right now.

changing:
&lt;code&gt;   function roundNearestHundredUp($number){
	$round = round($number, -2);
	if($number &gt; $round){ $round = $round + 100;}
	return $round;
	}&lt;/code&gt;

To:
&lt;code&gt;function roundNearestHundredUp($number)
	{
	return ceil( $number / 100 ) * 100;
	}&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Thanks Dan! Nice way to NOT over complicate things.   I am updating the post right now.</p>
<p>changing:<br />
<code>   function roundNearestHundredUp($number){<br />
	$round = round($number, -2);<br />
	if($number > $round){ $round = $round + 100;}<br />
	return $round;<br />
	}</code></p>
<p>To:<br />
<code>function roundNearestHundredUp($number)<br />
	{<br />
	return ceil( $number / 100 ) * 100;<br />
	}</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://eligeske.com/php/php-round-up-to-nearest-hundred-function/comment-page-1/#comment-33</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 16 Dec 2009 21:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://eligeske.com/?p=97#comment-33</guid>
		<description>You can achieve the same result in one line:

function roundNearestHundredUp($number)
{
	return ceil( $number / 100 ) * 100;
}</description>
		<content:encoded><![CDATA[<p>You can achieve the same result in one line:</p>
<p>function roundNearestHundredUp($number)<br />
{<br />
	return ceil( $number / 100 ) * 100;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
