This should work. EDIT: Changed so the hour formatting is better.my $difference = timediff($end_time, $start_time); my $sec = @$difference[0]; my $hour = sprintf('%0.2f', ($sec / 3600));
In reply to Re: How to format Benchmark results in hours?
by TedPride
in thread How to format Benchmark results in hours?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |