[Rev 01] RFR: 5721: Reintroduce the Percentage column

Dmitry Popov github.com+7112604+dmnm at openjdk.java.net
Fri Dec 27 16:25:25 UTC 2019


On Mon, 23 Dec 2019 20:49:22 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

>>
> 
> Hi Dmitry! 
> 
> We're using ISO 80000-1 in the JMC project. This means we actually prefer having a space in there, not only between values and units, but also between values and symbols like the percent sign. 
> 
> See e.g.:
> https://physics.nist.gov/cuu/Units/checklist.html, https://www.euspen.eu/wp-content/uploads/2018/08/A-Style-Guide-For-euspen-Publications-2017.pdf
> 
> That said, I agree that sticking to two decimals for the rendering looks neater. I believe the default rendering for PERCENT_UNITY is to try to use up to 3 significant figures, switching to scientific notation if the value is too large/small, which perhaps would be a good representation for the tooltips?

@Gunde @thegreystone 

The PR has been updated. Please review the changes.

-------------

PR: https://git.openjdk.java.net/jmc/pull/12


More information about the jmc-dev mailing list