public TimerDuration ( integer $decimals = 4 ) : Float | ||
$decimals | integer | (Optional) The number of decimal places to show |
return | Float | Microseconds elapsed |
public function TimerDuration($decimals = 4)
{
return number_format($this->time_diff, $decimals);
}