How to get decimals from any number?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/50801/whats-the-best-way-to-get-the-fractional-part-of-a-float-in-php">What&#39;s the best way to get the fractional part of a float in PHP?</a>  </p>
</blockquote>



<p>Having a variable such as:</p>

<pre><code>$number = 1.34;
</code></pre>

<p>How do I get the decimals on a different variable? Such as:</p>

<pre><code>$decimals = 0.34
</code></pre>
