Permalink
Browse files

don't round timer results, rounds to zero too much

  • Loading branch information...
1 parent b36ec24 commit e7695501372276c06793077c6e4805f3639c76da Casey Dentinger committed Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Util/Timer.php
View
@@ -23,7 +23,7 @@ public function spent ()
$time = microtime();
$time = explode(' ', $time);
- return round(($time[1] + $time[0]) - $this->_startTime, 2);
+ return ($time[1] + $time[0]) - $this->_startTime;
}
}

0 comments on commit e769550

Please sign in to comment.