title: How to split float in PHP?
body: <p>Let's say we have 12.054 and I want to split it to three variables like <code>$whole_number=12</code> <code>$numerator=54</code> and <code>$denominator=1000</code>. Could you help me?</p>