How to extract a float value from some number(php)
<p>I have a number <code>1.5</code>, <code>1.6666</code> or <code>1.777</code>.</p>

<p>How can I extract those float values from the int part? Not just round but separate them in different vars.</p>

<p>Expected output is <code>$var1 = 1</code> and <code>$var2 = 0.5</code> for <code>1.5</code>.</p>
