title: php get values after decimal
body: <p>If I've got a value in a variable eg 10.2333 and I need to use the 23 of the .2333 how do i do that?  For more information, I am working out a time difference:</p>
  
  <pre><code>$started = $_SESSION['now'];
  $ended = time();
  $time1 = $ended - $started;
  $time2 = $time1 / 60;
  </code></pre>
  
  <p>$time2 gives me for example 10.233</p>