Php division by 0, help needed?
<p>I keep getting division by 0 error in php.</p>

<p>I am currently using the following: </p>

<pre><code>$ratio = 1/$rate["rate"];
</code></pre>

<p>the value $rate["rate"] is 0.827 (a value returned from a feed)</p>

<p>Please can anyone help with this.</p>

<p>Thanks</p>
