title: PHP time string format to number of hours as integer
body: <p>I'm getting aggregate values of time passed from DB in formats such as</p>
  
  <pre><code> "84:00:00"
   "14:30:00"
   "20:00:00"
   "02:00:00"
  "120:00:00"
  </code></pre>
  
  <p>and I need to convert that to integer values as follows:</p>
  
  <pre><code> 84
   14.5
   20
    2
  120
  </code></pre>
  
  <p>is there any way to achieve this (rather simply); to my understanding strtotime() returns false if the value is greater than 24:00:00</p>