How to convert number and decimal into HH:MM
<p>I have a variable <code>$route-&gt;flighttime</code> which echoes numbers in the following format...</p>

<pre><code>0.5
1.2
1.45
</code></pre>

<p>How do I convert it to display <code>HH:MM</code> using <code>echo</code>?</p>

<p>Note: <code>0.5</code> is treated by the CMS as 50 minutes for some reason.</p>
