Skip to content

Commit 66052af

Browse files
Output the average using floating point
1 parent c3205c8 commit 66052af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/cli_bench/cli_bench.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
@res = sort(@res);
6060
@res = splice(@res, $outlier, $num - $outlier * 2);
6161

62-
my $avg = int(average(@res));
62+
my $avg = sprintf("%.1f", average(@res));
6363

6464
if ($details) {
6565
show_details(@res);

0 commit comments

Comments
 (0)