<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1036349" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1036349</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/mysql-math-question#comment-1209205</link>
    <description> &lt;p&gt;Brilliant! thanks for the help dude!&lt;/p&gt;
 </description>
     <pubDate>Sat, 21 Oct 2006 14:38:07 +0000</pubDate>
 <dc:creator>andy206uk</dc:creator>
 <guid isPermaLink="false">comment 1209205 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/mysql-math-question#comment-1209204</link>
    <description> &lt;p&gt;use [=&quot;Courier New&quot;]&lt;strong&gt;SELECT (1 - `saleprice` / `oldprice` ) AS savings FROM `products`&lt;/strong&gt;[/] to get a true numeric value (.50 for 50%, .75 for 75%)&lt;/p&gt;
&lt;p&gt;or us [=&quot;Courier New&quot;]&lt;strong&gt;SELECT ((1 - `saleprice` / `oldprice` ) * 100 ) AS savings FROM `products`&lt;/strong&gt;[/] to get just a whole number to display (75 for 75%)&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Sat, 21 Oct 2006 13:45:43 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1209204 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
