slachiewicz / caliper

Automatically exported from code.google.com/p/caliper
Apache License 2.0
0 stars 0 forks source link

Round numeric values consistently in both console and web UIs #156

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
How to round numeric values?

Here's the simplest thing I can come up with: just round everything to four 
"significant figures."  Period.  Would that work?

Original issue reported on code.google.com by kevinb@google.com on 8 May 2012 at 9:36

GoogleCodeExporter commented 9 years ago
Note that I would lean toward displaying 3.4996 ms as 3.500 ms, not 3.5 ms, as 
a reminder that there are four significant figures.

However, when that same value is displayed in microseconds, it will appear as 
3500000 and there will be no indication of how many of those are significant. 
That might be acceptable, especially if we put a footnote to the effect that 
all values are displayed to four significant digits. But if we put that 
footnote, do we still care about the 3.500 vs. 3.5 issue above?

Original comment by kevinb@google.com on 8 May 2012 at 9:39

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 1 Nov 2012 at 8:32

GoogleCodeExporter commented 9 years ago

Original comment by gak@google.com on 1 Nov 2012 at 9:10