title: MySQL: Digits (1.75) to Friendly Time (1 hour and 45 minutes)
body: <p>In my MySQL database, I have a float field named "HoursSpent" with values like "0.25", "1.75", "2.5", etc. Is there a way that I can have my SELECT statement format those values in a friendly format like this?:</p>
  
  <p>0.25 = 15 minutes</p>
  
  <p>1.75 = 1 hour and 45 minutes</p>
  
  <p>2.5 = 2 hours and 30 minutes</p>
  
  <p>The "HoursSpent" field is supposed to only have values in 0.25 increments, but if somebody were to put something random like 0.16, it would be nice if the SELECT statement handled that by rounding it up to the nearest 0.25 (so in this case 0.16 would become 0.25, or 15 minutes).</p>