<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1027475" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1027475</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1164289</link>
    <description> &lt;p&gt;D&#039;oh! I&#039;m a moron.&lt;br /&gt;
That&#039;s what I meant to write... it&#039;s been a long day. :blush:&lt;/p&gt;
 </description>
     <pubDate>Sun, 16 Jan 2005 04:54:40 +0000</pubDate>
 <dc:creator>netman w00t</dc:creator>
 <guid isPermaLink="false">comment 1164289 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1164182</link>
    <description> &lt;p&gt;Fyi, an asterisk is this: *&lt;br /&gt;
This is a &lt;a href=&quot;http://en.wikipedia.org/wiki/Commercial_at&quot; class=&quot;bb-url&quot;&gt;commercial at&lt;/a&gt;: @&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Jan 2005 00:26:14 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1164182 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1164170</link>
    <description> &lt;p&gt;Use an asterisk to surpress the warning:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $foo &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;55&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$bar &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo @&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;ceil&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$foo &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;/ &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$bar&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;It will simply print &quot;0&quot;.&lt;/p&gt;
 </description>
     <pubDate>Wed, 12 Jan 2005 20:21:26 +0000</pubDate>
 <dc:creator>netman w00t</dc:creator>
 <guid isPermaLink="false">comment 1164170 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1163224</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$var1 = 55;&lt;br /&gt;$var2 = 0;&lt;br /&gt;&lt;br /&gt;// Divide var1 by var2 would produce error&lt;br /&gt;&lt;br /&gt;if ($var2 == 0)&lt;br /&gt;&amp;nbsp; echo &amp;quot;N/A&amp;quot;;&lt;br /&gt;else&lt;br /&gt;&amp;nbsp; echo $var1/var2;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Dec 2004 07:52:00 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1163224 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1163212</link>
    <description> &lt;p&gt;DUH!  Sorry, had a moment there.  Do you know how to keep that Dividing by Zero error away?&lt;/p&gt;
 </description>
     <pubDate>Thu, 23 Dec 2004 23:33:21 +0000</pubDate>
 <dc:creator>airoid3000</dc:creator>
 <guid isPermaLink="false">comment 1163212 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1163211</link>
    <description> &lt;p&gt;*100&lt;/p&gt;
&lt;p&gt;echo $val * 100 . &quot;%&quot;;&lt;/p&gt;
 </description>
     <pubDate>Thu, 23 Dec 2004 22:42:38 +0000</pubDate>
 <dc:creator>nike_guy_man</dc:creator>
 <guid isPermaLink="false">comment 1163211 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1163210</link>
    <description> &lt;p&gt;Also, I am trying to display a percentage, how can I get this:  0.25 turned into this:  25&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
 </description>
     <pubDate>Thu, 23 Dec 2004 22:19:28 +0000</pubDate>
 <dc:creator>airoid3000</dc:creator>
 <guid isPermaLink="false">comment 1163210 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1163207</link>
    <description> &lt;p&gt;I keep getting this error when I try to divide a number by zero:  Warning: Division by zero  &lt;/p&gt;
&lt;p&gt; It&#039;s okay that it&#039;s zero, how can I stop the error from showing up?&lt;/p&gt;
 </description>
     <pubDate>Thu, 23 Dec 2004 22:01:39 +0000</pubDate>
 <dc:creator>airoid3000</dc:creator>
 <guid isPermaLink="false">comment 1163207 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1163152</link>
    <description> &lt;p&gt;Thanks, I&#039;ll see if I can figure it out from there.&lt;/p&gt;
 </description>
     <pubDate>Thu, 23 Dec 2004 06:12:55 +0000</pubDate>
 <dc:creator>airoid3000</dc:creator>
 <guid isPermaLink="false">comment 1163152 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/round-php#comment-1163145</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://nz2.php.net/manual/en/function.ceil.php&quot; class=&quot;bb-url&quot;&gt;http://nz2.php.net/manual/en/function.ceil.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 23 Dec 2004 01:38:37 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1163145 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
