title: Converting a float number in 0-1 range to time
body: <p>In my application time info is stored in db in a float field, where:</p>
  
  <pre><code>0 means 0 AM;
  
  0.5 12 AM 
  
  0,999305555555556 is 11:59 PM
  </code></pre>
  
  <p>The conversion into time information is currently done in my application by Ui components that are designed to work with this way to save time info as float (this was decided before TIME datatype was introduced in SQL Server 2008R2).</p>
  
  <p>My question is:<br>
  how to perform this conversion?</p>